How to Automatically Pass Form Data to Another Form

April 7, 2022

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. If you’re looking to do that, please proceed with the steps below.

Step 1: Set 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.

In this example, the source will be a simple contact form, and the target will be a newsletter signup form.

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

Step 2: Build the Landing Page’s URL

Create the URL using the target form’s URL since it will serve as the landing of the source form.

The URL would look something like the following:

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

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 “&”. For example:

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

Note that 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.

Step 3: Set the Source Form’s Landing Page

Now that we have the landing page’s URL, it’s time to decide how to serve it from the source form. There are a few ways to achieve this.

Redirect to the Landing Page after Submission

The form fillers will automatically be redirected to the landing page after submission. To set this up…

  1. Go to the Settings tab.
  2. Click Thank You Page on the left.
  3. Select the Redirect to an external link after submission option.
  4. Input 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

The form fillers can manually click the link to the landing page.

  1. Go to the Form Builder’s Settings tab.
  2. Click 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 to insert the link.
  5. Click the Insert/edit link icon.
form-builder-autoresponder-insert-link-min.png
  1. Input the landing page’s URL in the URL field.
  2. Set your desired Text to display.
  3. Click the Ok button.

And you’re done. 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.

For questions, feel free to leave us a comment below.

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:

  • Astrid Gutiérrez
  • Ryan Jamieson
  • Ryan Jamieson
  • Alexander Moore
  • Neels Saaiman
  • CBCity2200
  • Allen
  • Eco Scorpions
  • Beverly Voss
  • Thomas Scott
  • Rosowidis Naluwe
  • Melissa Daniels
  • Casey Carver
  • Maxime Berube
  • Aiman Asyraf
  • Devora Harstein
  • SFC Corporate
  • Craig Woolfenden
  • Patrick Uyemoto
  • Samir El Hardouz
  • Camco Construction
  • CLL Centres de Langues
  • Parker
  • WSIguy
  • WSIguy
  • Michelle