How to Automatically Pass Form Data to Another Form

May 7, 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 the Form Builder, select Settings at the top.
  2. Go to Thank You Page on the left.
  3. Select Redirect to an external link after submission.
  4. Finally, enter your landing page’s URL in the Enter URL field.
Steps to set up redirection in Form Builder


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 the Form Builder, go to Settings at the top.
  2. Select Emails 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. Select Insert/edit link in the editor’s toolbar.
  6. In the Insert link dialog, enter your landing page’s URL and the text to display, then select Ok.
The Insert link dialog in the Form Builder's email template editor

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.

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:

  • Lois Okino - Profile picture
  • Elevate Team Forms - Profile picture
  • Bibi Bonenza - Profile picture
  • Next Environmental - Profile picture
  • nikhil bhargav - Profile picture
  • White Deer Wills - Profile picture
  • Emily Macdonald - Profile picture
  • Julius Debardeleben - Profile picture
  • Hearts of Wheels - Profile picture
  • Stephanie Williams - Profile picture
  • Stephanie Williams - Profile picture
  • Jason Durham - Profile picture
  • Daniel Sarwono - Profile picture
  • Astrid Gutiérrez - Profile picture
  • Ryan Jamieson - Profile picture
  • Ryan Jamieson - Profile picture
  • Alexander Moore - Profile picture
  • Neels Saaiman - Profile picture
  • CBCity2200 - Profile picture
  • Allen - Profile picture
  • Eco Scorpions - Profile picture
  • Beverly Voss - Profile picture
  • Thomas Scott - Profile picture
  • Rosowidis Naluwe - Profile picture
  • Melissa Daniels - Profile picture
  • Casey Carver - Profile picture
  • Maxime Berube - Profile picture
  • Aiman Asyraf - Profile picture
  • Devora Harstein - Profile picture
  • SFC Corporate - Profile picture
  • Craig Woolfenden - Profile picture
  • Patrick Uyemoto - Profile picture
  • Samir El Hardouz - Profile picture
  • Camco Construction - Profile picture
  • CLL Centres de Langues - Profile picture
  • Parker - Profile picture
  • WSIguy - Profile picture
  • WSIguy - Profile picture
  • Michelle - Profile picture