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

    Populating fields to another form not working properly

    Asked by max123jot on September 26, 2016 at 01:02 PM

    https://www.jotform.com//?formID=62464023152143

    completing this form as

    surgical case = close urethra fistula

    institution = lurie childrens hospital

       and attending max maizels, md

     

    these fields should populate the following form using the syntax below in conditions

    https://www.jotform.com//?formID=62694590564164

     

    https://form.jotform.com/62694590564164?institution={institution}&surgicalCase={surgicalCase}&attending={attending}&a_email={a_email}

     

    but for some reason attending and email dont populate 

    the url is as below

    https://form.jotform.com/62694590564164?institution=Lurie%20Children%27s%20Hospital%20of%20Chicago&surgicalCase=close%20urethra%20fistula&attending=&a_email=

    please advise

    m

    Page URL:
    https://www.jotform.com//?formID=62464023152143

    in a populating fields JotForm www and email
  • Profile Image

    Answered by Irshad on September 26, 2016 at 02:31 PM

    I have checked your form: https://www.jotform.com/62464023152143. I am able to see the field's unique name "a_email" has been used multiple times on different pages of the Form.

    And in the same way the field name "attending" has also been used  multiple times on different pages of the Form.

    Field name must be unique on form, since on your form the field names "a_email", and "attending" are not unique, because of that the value of those fields are not passing to another form.

    So please try to keep the field name unique, and then check it again.

    To get the Field name details, please check the below guide:

    https://www.jotform.com/help/146-How-to-find-field-IDs-and-names

    If you have any query, or need further assistance, feel free to revert back.

    Thanks.

  • Profile Image

    Answered by max123jot on September 26, 2016 at 02:46 PM
    thanks
    yes i edited the names to be the same
    thinking that the program would take those fields and prepopulate the next
    but....if i am planning for perhaps 50 different fields for name and 50 for
    email
    would you please suggest considerations for such pre population
    in the original question, i pasted the code jotform suggested to use for
    prepopulation
    thanks
    m
    ...
  • Profile Image
    JotForm Support

    Answered by Kiran on September 26, 2016 at 05:41 PM

    I have cloned your JotForm to my account and it seems to be working fine. However, I notice that there are some pages being skipped using conditions on the first form in which you may need to check the appropriate fields to be used in the thank you page URL being redirected. As I check the form and submitted the first form, I see that the institution and surgical case fields are pre-populated on the second form properly.

    If you see any issue with any specific option on the form, please let us know so that we can take a look and provide you with necessary assistance. 

    Thank you! 

     

  • Profile Image

    Answered by max123jot on September 26, 2016 at 06:46 PM
    hi
    i took your advice and made unique names as below to promote pre-populating
    of the 2nd form
    ?institution={institution}&surgicalCase={surgicalCase}&attending={attending}&a_email={a_email}&attending_vch={attending}&a_email_vch={a_email}&attending_lch={attending}&a_email_lch={a_email}
    btw
    are suffixes for hospitals
    _vch
    _lch
    _cha
    but still does not work right
    please advise
    m
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on September 26, 2016 at 11:21 PM

    I have checked the second form http://www.jotform.us/form/62694590564164 and I can see the fields you have specified in the pre-populated link are not in the form.

    Here is a screenshot of the current fields in the second form: 

    ?institution={institution}&surgicalCase={surgicalCase}&attending={attending}&a_email={a_email}&attending_vch={attending}&a_email_vch={a_email}&attending_lch={attending}&a_email_lch={a_email}

    I would suggest you to double check the fields that you want to pre-populate, please make sure they have the same name in the form and the link.

    Also, do note that if you want to pre-populate a value in a dropdown, check box, or matrix field (using radio buttons or check boxes) then the option must be the same, so if the option in the first form is "Option 1" then it should be the same in the second form "Option 1" exactly the same. 

    Please make the changes on your form and try again, do let us know how it goes.