-
msmilanAsked on January 21, 2019 at 6:26 AM
-
Mert Ceylan JotForm DeveloperReplied on January 21, 2019 at 10:43 AM
Firstly I didn't quite understand what you mean with order confirmation form. I assume you mean sending the values of a field to another form's field.
I have prepared you a simple example with 2 forms that have only name elements where you send data from the first form to second. You can do the pre-populating using URL parameters.
https://form.jotform.com/90203702828957
https://form.jotform.com/90202997197971
if you click the first link that is provided above you'll see the unpopulated form and if you fill that up and submit you'll notice that the information you entered will also be in the second one.
You need to follow these steps:
1) Preview your form which you want the data transferred to, then open the form on a new tab and copy the link in the top left corner.
2) Then go back to the form builder and go to "Settings" and then "Thank You Page" and select "Redirect to external link" option and paste the URL there.
3) You need to edit the URL. For this example name fields for the forms are "name" and "name2" respectively. You can learn more about using URL parameters to pre-populate from this guide: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names
4) You can see the example URL below:
https://form.jotform.com/90202997197971?name[first]={name2:first}&name[last]={name2:last}
5) The number part is the second form's number and you want to use the first name box's unique name which you can find out by selecting advanced on said name box's properties under "Field Details". You can find more information about unique names on this guide: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names
This is the place where you want to transfer the data, the second part is where you want to get our data which is the second form's text box's unique name, "name2". Lastly the "name2:first" first means the first text field.
If you want another field to be prepopulated use the "&" symbol and repeat this process for the other text fields.
If you are talking about another issue, could you provide us more details about order confirmation?
If you need any help, let us know.