-
billylevine2003gmailcomAnswered on June 26, 2013 05:54 PM
In the above example how do I pass it the value of the field instead of hard coded value.
In my application I am feeding a second jot form from a parent jotform and I want to pass values from one the other
-
Elton Support Team LeadAnswered on June 26, 2013 08:50 PM
Hi,
That's possible. Here's a guide:
1. Copy the field variables in your 1st form. These variables must be the fields that you'd like to transfer into the 2nd form.
To get field variables,
Go to field Properties > Advanced tab > Field Details > Copy the Unique Name
Make sure it is wrapped with curly braces e.g. in this example the field variable is {email}
2. Copy your 2nd Form URL e.g. https://www.jotform.com/form/1235678901 and construct the URL parameter for prepopulating value from the 1st form to the 2nd form. Prepopulating the fields to your JotForm via URL parameters.
Example: https://www.jotform.com/form/1235678901?name1={name}&email21={email}
To explain:
https://www.jotform.com/form/1235678901 - is your second form URL
{name} & {email} - These are field variables from your first form as explained on the first step.
name1 & email21 - These are field names from the second form. This is where the value from the first form be prefilled in. Check below to learn how to get field names from your 2nd form through browser inspect element.
To get your 2nd form's field names,
a. Open the 2nd form with your Google Chrome Browser,
b. Right-click the text box where you'd like to get its name,
c. Select Inspect Element and copy the field name in the source code below under name attribute after undercore "_".
3. Last and final step, set the constructed URL with parameter as your Thank you Custom URL. Here's how:
After this, try submitting your first form with sample data, it should then redirect to your 2nd form with the prefilled data from the first form.
Let us know if you have further questions. Best Regards!
-
hehacliffAnswered on January 17, 2014 11:05 AM
Excellent ! ! ! ! Very helpful thanks !!!!
-
digiosolutionsAnswered on March 08, 2014 06:05 PM
Is this possible if the thank you page sends user to another non-jotform page with jotform of the 2nd form embedded on it (using the modified url parameters as the source of the form)?
If that's possible it will be amazing!
-
Elton Support Team LeadAnswered on March 08, 2014 06:49 PM
@digiosolutions
If the 2nd form was embedded using its source code, then that's possible. However, may we suggest you first to post your question to a separate thread and provide the mentioned URLs so we can assist you further.
Thanks!
-
Welvin Support Team LeadAnswered on April 21, 2015 01:51 PM
-
AmourTaxAnswered on January 08, 2016 10:12 AM
-
CharlieAnswered on January 08, 2016 01:10 PM
@AmourTax
I have opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/739989. We will address it shortly.
Thank you.
-
dmichaelsAnswered on March 09, 2016 10:30 AM
I got the form fields to pass to a second form using the Submit button, but can not make it work for a url in a label...When I get to the second form, the fields get filled in with the label name instead of the value.
The link LOOKS good before you click it (it shows the values), but when it gets to the second form, it's NG
OBVIOUSLY, it's some small, dumb thing I'm doing wrong.
https://form.jotform.com/60665692617970
Thanks,
David
-
CharlieAnswered on March 09, 2016 10:35 AM
@dmichaels
Thank you for contacting us, I went ahead and opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/790934. We will address it shortly.