Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

RSForm DateSubmitted
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: RSForm DateSubmitted
#37413
RSForm DateSubmitted 11 Years, 4 Months ago Karma: 0
I realize the question was asked before but I was not able to find the solution so posting again, my apologies.

I need Ari Tables to display Date of Submission from RSForm forms.

MySql query mentioned on these forums works just fine to display the data stored in #__rsform_submission_values table of RSForm. The help I need is with modifying the query to pull DateSubmited column from #__rsform_submissions table into #__rsform_submission_values table and THEN running SELECT query. I prefer not to modify the tables if it all possible.

SELECT
SubmissionId,
FieldName,
FieldValue
FROM
#__rsform_submission_values
WHERE
FormId = 6
AND
FieldName IN ('field1','field2','field3','field4','field5','field6')
ORDER BY SubmissionId ASC

Thanks a lot in advance.
The administrator has disabled public write access.
 
#37434
Re:RSForm DateSubmitted 11 Years, 4 Months ago Karma: 748
Hello,

Use the following SQL query:

Code:


(SELECT
  SubmissionId,
  FieldName,
  FieldValue
FROM
  #__rsform_submission_values
WHERE
  FormId = 6
AND
  FieldName IN  ('field1','field2','field3','field4','field5','field6')
ORDER BY 
  SubmissionId ASC)
UNION
(SELECT
  SubmissionId,
  'DateSubmitted' AS FieldName,
  DateSubmitted
FROM
  #__rsform_submissions
WHERE
  FormId = 6
)



Regards,
ARI Soft
Last Edit: 2013/02/24 14:10 By admin.
The administrator has disabled public write access.
 
#37435
Re:RSForm DateSubmitted 11 Years, 4 Months ago Karma: 0
Thanks so much! Works perfectly.
The administrator has disabled public write access.
 
#37438
Re:RSForm DateSubmitted 11 Years, 4 Months ago Karma: 0
Hmmmm. With the SQL like this for some reason the DateSubmitted column appears as a very last column on the right of the table, and it made the column TotalPrice that was previously there become column #2 in the table. TotalPrice also is not responding to alignment and is aligned left rather than center.
Columns are ordered, aligned and aliased in the module settings->column settings but displaying result does not respond to module settings any more? How do I change the order of columns and force them to align properly? Thanks.
Last Edit: 2013/02/24 14:49 By molsonbubba.
The administrator has disabled public write access.
 
#37439
Re:RSForm DateSubmitted 11 Years, 4 Months ago Karma: 748
It is not possible to define columns order in "Columns settings" parameters section. The extension uses order from "SELECT" query.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#37441
Re:RSForm DateSubmitted 11 Years, 4 Months ago Karma: 0
OK. Still, DateSubmitted is field2 in SELECT query. Yet it shows as field6 and field6 shows as field2 in the end result displaying table. Changing position of field2 in SELECT statement did not change position of the column in the table. Alignment is not working on field2 but is working on other columns? Thanks.
Last Edit: 2013/02/24 15:02 By molsonbubba.
The administrator has disabled public write access.
 
Go to topPage: 12