How to Automatically Pass Form Data to Another Form

January 11, 2023

With Field Prepopulator, you can prepopulate your form with the data you provide manually. But on some occasions, you may want to automatically pass form data to prepopulate another form. This guide shows how to pass form data to another form right after submission.

Setting Up the Forms

The setup requires 2 forms, the source form where the data will be coming from, and the target form where the data will be passed on to. For this guide, the source will be a simple contact form and the target will be a newsletter signup form, as examples:

The goal is to pass the Email field’s value from the source (contact) form to the target (signup) form.

Building the Landing Page’s URL

Create the landing page using the target form’s URL since it will serve as the source form’s destination after submission. The URL would look something like the following:

https://www.jotform.com/220542271693050?target_email={source_email}
form-builder-target-email-unique-name-min-png form-builder-source-email-unique-name-min-png

To break that down:

  • https://www.jotform.com/220542271693050 — The URL of the target form.
  • ? — The question mark is used as a separator.
  • target_email={source_email} — The query parameter* in key-value pair:

*Multiple query parameters are separated by the ampersand (“&”) symbol. For example:

https://www.jotform.com/220631153630031?form2name[first]={name:first}&form2name[last]={name:last}&form2email={email}&form2checkbox={multiplechoice}

Note: The sample query parameters above may be different from what you have on your form. Use the Field Prepopulator to get your form keys and tags.

Setting the Source Form’s Landing Page

Now that you have the landing page’s URL, it’s time to decide how to serve it from the source form. For that, you can either redirect your users to the landing page after submission or serve the landing page as a link in your email alert or Thank You page.


Redirect to the landing page after submission. You can redirect your form fillers to the landing page after submission. To set this up

  1. In Form Builder, click on Settings at the top.
  2. Choose Thank You Page on the left.
  3. Select Redirect to an external link after submission.
  4. Finally, enter the landing page’s URL in the Enter URL field.
form-builder-source-form-thank-you-page-min.png


Include the link in your email alerts or Thank You page. You can serve the landing page to your form fillers as a link. To set it up

  1. In Form Builder, click on Settings at the top.
  2. Choose Email or Thank You Page on the left.
  3. Edit your email alert. Or, select Show a Thank You Page after submission for the Thank You Page.
  4. Place your cursor in the editor where you’d like to insert the link.
  5. Click on the Insert/edit link icon in the editor’s toolbar.
  6. In the Insert link window, enter the landing page’s URL and text to display, then click on Ok.
form-builder-autoresponder-insert-link-min.png

You now have an automated way to pass the data from one form to another. Here’s a demo form with the setup above applied to see it in action.

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments: