-
HohenshellAsked on February 22, 2023 at 1:01 PM
I have a Thank You page Redirecting to a URL, and I need to add 2 form fields data as URL variables to the redirect URL. How do I do this?
Page URL: https://form.jotform.com/222625761913154 -
Leonidas_D Jotform SupportReplied on February 22, 2023 at 1:29 PM
Hello Matt,
Thanks for reaching out to Jotform Support. I understand that you would like to prefill the data into the form using the URL parameters, is that correct? Can you share with us the form URL and the fields you would like to be added to the URL parameters?
Let me show you how to pre-populate the form from other form fields:
First, we will have to set up the URL parameters. I used the parameters below:
https://form.jotform.com/230124754890052?name[first]={name:first}&name[last]={name:last}&email={email}
- https://form.jotform.com/230124754890052 - This is the form URL of the target form.
- name[first], name[last], and email - This is the first and last name of the target form.
- {name:first}, {name:last}, and {email} - This is the first and last name of the source form.
Then, add the URL parameters to the Thank You Page of the source form:
Take a look at the screencast of the result below:
You can also use the Field Populator to generate the URL parameters.
Let us know if there's anything else we can help you with.