How can I prepopulate the date field?
-
WtfuckAsked on October 25, 2012 at 05:25 PM
Hi
What about the Date field
How can i prepopulation the field
Because isn't in the user guide
Thx
-Wtf
This is a re-post of a comment on Prepopulating Fields to Your Jotform via URL Parameters
-
WtfuckAnswered on October 26, 2012 at 07:07 AM
I'm Working on Pendentifs form
I know is it possible but i want to do like this URL
http://form.jotformpro.com/form/22841821868966?nomDu={nomDu}&numeroDe5={numeroDe5}&ticket={ticket}&delais[day]={delais[day]}&delais[month]={delais[month]}&delais[year]={delais[year]}&rar={rar}&montantRar={montantRar}
But it's not working
Thx
-
NeilVicenteAnswered on October 26, 2012 at 07:20 AM
@Wtfuck
I don't understand why you're using {tags} to prefill the form. Is this form linked from another one?
Prepopulation should work for your form. Here's a good example:
Do you perhaps need more information as to how URL prepopulation works?
-
WtfuckAnswered on October 26, 2012 at 07:32 AM
No the form is no linked to another one
I use this link in the thanks page,
when a customer want to submit another submission with the same information this is why i use tags and it's works except with the date field
thx
-
NeilVicenteAnswered on October 26, 2012 at 07:43 AM
Thank you for that information.
The proper {tag} for day, month and year, are as follows:
{dateField:day}
{dateField:month}
{dateField:year}Therefore, the URL should be:
http://form.jotformpro.com/form/22841821868966?nomDu={nomDu}&numeroDe5={numeroDe5}&ticket={ticket}&delais[day]={delais:day}&delais[month]={delais:month}&delais[year]={delais:year}&rar={rar}&montantRar={montantRar}
Hope this helps!