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

    Struggling with Prepopulation...

    Asked by centralmarkets on July 03, 2011 at 07:09 AM

    Hello - guys sorry to ask, but I've gone through the forums with regards to prepopulating fields.

    Using URL parameters is new to me, so this maybe where I am going wrong.

    Essentially I have 2 forms. The user cannot access the second form until they have completed the first form. 

    The first form, once completed, sends a notification to my client. When the second form is completed it goes to another separate company (thats why I haven't combined the 2 forms).

    Both forms are embedded using iframes. The first form can be found on my test server here:

    http://deeplimestudios.co.uk/clients/centralmarkets/accounts-advisory-open.html

    When the users fills in the forms my client gets a notification. 

    The thank you page directs the user to the second form which can be found on this page:

    http://deeplimestudios.co.uk/clients/centralmarkets/accounts-advisory-openForm.html

    I would like the following fields from the first form (firstAnd[first], firstAnd[last], email, primaryNumber, secondaryNumber) to pre-populate the fields in the second form.

    Before submitting this question I have read all the forums and with limited success used the URL parameters (but only when the URL was jotform ie. http://www.jotform.com/?formID=11831106775)

    The original forms can be found here:

    Form 1: http://www.jotform.com/?formID=11831106775

    Form 2: http://www.jotform.com/?formID=11571401744

    Thanks for all your help in advance.

    Richard

     

     

     

     

    Page URL:
    http://deeplimestudios.co.uk/clients/centralmarkets/accounts-advisory-<br/>open.html,http://deeplimestudios.co.uk/clients/centralmarkets/accounts<br/>-advisory

  • Profile Image
    JotForm Support

    Answered by NeilVicente on July 03, 2011 at 10:03 AM

    Hi Richard,

    Before anything, I'd like to inform you that the url for your forms are not http://www.jotform.com/?formID=11831106775 and http://www.jotform.com/?formID=11571401744

    but instead http://www.jotform.com/form/11831106775 and http://www.jotform.com/form/11571401744, respectively.

    Anyway, I think what you're trying to accomplish is more than form field prepopulation. Prepopulating fields, as described in this user guide, means the form owner sets a default value for a field. This can be useful when embedding a form in different websites, and you want form fields to have different values according to the website it is embedded in.

    What you want to do is to pass submitted field values from one form to another. Unfortunately, it would require more than just url parameters to make it work. Some custom PHP scripting will be needed and of coure, a web host that runs PHP.

    Please read on to this thread to learn more how to implement this solution in your forms.


    Neil