How to Automatically Pass Form Data to Another Form

  • manishahi
    Asked on October 10, 2016 at 9:42 AM

    If a person is asked to take another quiz, I want to have a unique ID for both the submissions so that I can track person's results using that unique ID. Is it possible? Can that be used to pass email address from one form to another as well?

  • Mike_G JotForm Support
    Replied on October 10, 2016 at 11:18 AM

    Since Unique IDs from the Unique ID widgets are automatically generated, There is no way we can guarantee that two Unique IDs, from two different forms, to be same.

    May we know when would your respondents need to take another quiz, please?

    If, for example, you would need your respondents (that have already taken the first initial quiz) to take another quiz, are you going to send them the link to the new quiz via email?

    If yes, then I suggest, you create a unique ID field in the other quiz form using a textbox.

     

    How to Automatically Pass Form Data to Another Form Image 1 Screenshot 30

    Then, when you send the link to your second form to your respondents that need to take it, you include the value of the Unique ID from the first form (get it from the submission page of the first form) in the URL of the second form via parameters.

    The guides below will help you on how you can do that:

    https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

    https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form

    Below is a link to a sample second form that I have created:

    https://form.jotform.com/62833724104956?uniqueId=GID003&email=test2@test.com

    The value of the uniqueId in the link to my second form came from the value of the uniqueID of my first form which I got from my first form's submission page.

    How to Automatically Pass Form Data to Another Form Image 2 Screenshot 41

    You can also do this for the other fields like the email address field.

    So if I were to send a link to a second form to my respondents, I will send the link like that. When they load the second form, the Unique ID field and the email address in the second form are pre-filled/prepopulated.

    I hope this helps. If, in any case, I misunderstood your concern, please feel free to contact us anytime. Thank you.