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 select form and prepopulate from first form

    Asked by lafhab2 on June 10, 2015 at 09:52 AM

    Hi, I know there are several answers covering pre-populating forms and doing so from one form to another, but I cannot find how to do this:

    Form 1 Asks for a user name from a drop-down list, AND which form they wish to complete.  This take the user to a form based on their selection.

    The bit I can't figure is how you can get the form ID on that link.  Eg, if they selected Form 26 how can I get form id number into the link they then click on?

    One of the reasons for me wanting to do this is that we have many forms which have common options but JotForm still do not facilitate forms using an external common data source or list.  Form users often mis-spell names etc so I want to have them select the name from a list then go the form of their choice, with the name pre-populated.

    select and how first
  • Profile Image
    JotForm Support

    Answered by david on June 10, 2015 at 12:07 PM

    Hi,

    It is possible to place a dynamic prepopulation link to the Thank You Page on your first form.

    1. First of all, you will need to get the field {tags}, you can get them from Notification email. Then, you will use them in your dynamic prepopulation URL.

    2.  For example, lets try to prepopulate email address field on the second form based on data that user submitted from the first form. According to the previous screenshot, {yourEmail16} tag is responsible for E-mail field on initial form.

    Now time to add dynamic prepopulation link to the Thank You Page of first form.

    So to see this live, please enter test data on this form : http://form.jotformeu.com/form/21106494481350

    Now let's see the dynamic prepopulation URL to the second form:

    http://form.jotformeu.com/form/21106785005345?email18={yourEmail16}

    With your setup though, you would need to go one step further.  Since you need a different URL for each form in your thank you page, you will need to use conditional thank you URL's:

    Construct each URL the same way, just replace the form URL with the proper one for each condition.  This will redirect your users to the proper form based on the selection made in the first form.

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by lafhab2 on June 11, 2015 at 06:51 AM

    Thanks, that's a very good solution.  I've tried it and it all works a treat!