What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to prepopulate second form with the value of first form?

    Asked by Chutch on March 13, 2015 at 02:39 AM

    hello Ashwin,

    I have a form that is used multiple times for the same customer, what I call a pump audit form. What I have managed to do is create a master form and when the customer has completed and submitted that form they are presented with a second form which is a clone of the master form. What I would like to do is to have all the customer's details from the first form copy across into the second form if this is possible.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 13, 2015 at 03:00 AM

    Hello Chutch,

    Yes it is possible to achieve your requirement. You can take advantage of our "URL Parameter" and "Custom URL (Thank you)" feature to prepopulate your form fields of second form with the value of first form. 

    Here are the steps you should follow to achieve this:

    1. Get the field names of both your forms i.e. the fields of master form which you want to read and the fields of your second form which you want to prepopulate. The following guide should help you get your field names:  https://www.jotform.com/help/146-How-to-find-Field-IDs-Names 

    2. Build a prepopulation URL of your second form by taking of our "URL Parameter" feature. The following guide should help you:  https://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters 

    3. Add this prepopulation URL in the "Custom URL" (Thank you) of your first form. Please check the screenshot below:

     

    Once all the above steps are complete and you submit your master form, you will be redirected to your second form where the form fields will already be populated.

    You may also like to take a look at the following guide as well which is very close to your requirement:  https://www.jotform.com/help/270-How-to-Pass-a-Calculated-Value-in-a-Paypal-Field-of-a-Second-Form Instead of PayPal, you need to populate other form fields.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!