-
jackkellerincAsked on January 14, 2016 at 8:37 PM
I want to take the address and full name fields and have them copied to another form. I know how to pass the variable but not the multiple sub-variables (ie: prefix, first name, middle name, etc..) to make the variables appear on the next form. What is the best way to accomplish this task??
-
jonathanReplied on January 15, 2016 at 1:41 AM
You can use the browser's inspector tool to determine the correct tag name of the form fields.
Example:
in the example, you can see the sub variable for Address field for City was separated by colon(:). The format is {fieldame:sub var}
You can test submit this form https://form.jotform.com/60141065427952
It redirect to the same form and it will pre-populate the fields using URL parameter values.
Example:
If you check the URL, you can see an example like this URL
https://form.jotform.com/60141065427952?fullName[first]={fullName:first}&fullName[last]={fullName:last}&address[addr_line1]=address:addr_line1}&address[addr_line2]=address:addr_line2}&address[city]={address:city}&address[state]={address:state}&address[postal]={address:postal}&address[country]={address:country}
Hope this help. Let us know if you need further assistance.
Thanks.
-
jackkellerincReplied on January 15, 2016 at 10:47 AMHow do you get the variables to pass through? I must be missing something. I’m trying to pass https://form.jotform.com/60116964293963
To https://form.jotform.com/41306296441148
... -
Kevin Support Team LeadReplied on January 15, 2016 at 1:14 PM
Hi,
You can use this app : http://prepopulate.jotform.io/
You should add there your second form, you will get the exact URL with the data prepopulated, then the only thing you need to do, is get the names from the first form, you can do it by two different ways.
First by clicking on the properties icon in the Form Builder.
The second method is by doing right click on the field and selection the option Inspect element.
Then copy the value after the "q_" as shown in the image below, and you should add it like this {email} :
You can also find more help on this guide : http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters
Hope this helps.
Regards.
-
jackkellerincReplied on January 15, 2016 at 2:47 PMI already did all that before I submitted the request. I have https://form.jotform.com/41306296441148?session={email8} &email8={email8}&ownerName[first]={ownerName:first}&ownerName[last]={ownerName:last} but it doesn’t seem to work
... -
jonathanReplied on January 15, 2016 at 9:14 PM
You should not include session? variable anymore in the URL if you are using redirection.
Try this URL instead
Also, the Email field will not work if the Email Confirmation is enabled. So set it to No.
You can also test submit this form https://form.jotform.com/60147699628974
Let us know how it goes.
-
jackkellerincReplied on January 18, 2016 at 2:47 PMIt still doesn’t work
... -
Kevin Support Team LeadReplied on January 18, 2016 at 4:00 PM
Hi,
I noticed you have enabled the Auto Fill feature, I would suggest you to disable it and test your form again, it should work as you need now.
Do let us know the result and if it works now.
Thanks.
-
jackkellerincReplied on January 18, 2016 at 4:47 PMThat seemed to solve it. Thanks!!
... -
jackkellerincReplied on January 18, 2016 at 5:47 PMHow do I get the autoresponder to send the link with the session variable for the second page as shown on your support page in reference to keeping a customer from loosing all of the work if they navigate away from the 2nd page on accident? (http://www.jotform.com/help/97-How-to-Save-Forms-to-Continue-Later )
... -
Kevin Support Team LeadReplied on January 18, 2016 at 6:50 PM
Great to know your form is working now.
In regards to your second question, I have moved it to this thread : http://www.jotform.com/answers/747923
In order to avoid any confusion, we will assist you there.
Feel free to contact us anytime if you need more help.
Regards.