• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Passing date fields in URL's

Passing date fields in URL's 7 years 2 months ago #37892

Hello,

i did read "www.rsjoomla.com/support/documentation/r...can-i-catch-it-.html" but the example there is an "birthday" field, not a date field. I assume those are different field types?

I would like to pass 2 dates via an URL to my RSForm. "arrival" and "departure" are both calendar popup fields. I tried:

<code>
mysite.com/form?formId=1&form[arrival][d]=15&form[arrival][m]=07&form[arrival][y]=2018&form[departure][d]=22&form[departure][m]=07&form[departure][y]=2018&form[personCount]=3
</code>

This will throw an timezone error.

and

<code>
mysite.com/form?formId=1&form[arrival]=15072018&form[departure]=22072018&form[personCount]=3
</code>

This version doesnt throws an error, puts "15072018" and "22072018" into the date fields but withour any function. I.e. the calendar dates are not set. Do i need to catch this variables and then initialize the calendar fields "by hand"?!

Only "personCount" is set correctly atm.

Thanks!
Last Edit: 7 years 2 months ago by therajaombak.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!