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

    Can't prepopulate field from URL parameter.

    Asked by BioSpineForms on April 17, 2017 at 04:04 PM

    Hi there,

     

    We are trying to prepopulate a text field with a URL parameter, and followed the instructions on this article: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

     

    Here is the link we built, but it does not populate the field: https://form.jotform.us/51937039939166?q144_patientId=001j000000oIsI0  

     

    We can't figure out what we're doing wrong.  Any help would be much appreciated. By the way, we have hidden the field for now, but tried it both hidden and visible, but it doesn't work either way.

     

    THANK You

    Page URL:
    https://form.jotform.us/51937039939166

  • Profile Image

    Answered by KadeJM on April 17, 2017 at 04:47 PM

    We would be more than happy to help you with populating your form via url parameters.

    Are you trying to populate this information from another form? Or just in general?

    Here's an example of how this should actually be:

    https://form.jotformpro.com/71066016914957?fullName3[first]=John&fullName3[last]=Brown&iAm=Right Handed&dateOf[month]=04&dateOf[day]=17&dateOf[year]=1986&socialSecurity=111223333&patientId=001j000000oIsI0

  • Profile Image

    Answered by BioSpineForms on April 19, 2017 at 08:54 AM

    Our users will get to this form via a link.

     

    Part of that link will be their unique customer ID that we want to pass as a URL parameter.

     

    I see in your example that you’ve included other fields (name, social security, etc.), but the only field that we want to populate via the URL parameter is the patientID. 

     

     

    But again, it does not seem to pass when we build a URL with that parameter defined.

  • Profile Image
    JotForm Support

    Answered by candy on April 19, 2017 at 10:18 AM

    Hello,

    As far as I see, your pre-population link is not correct. You need to omit the "q144_" part from the link. So, it should be like the following: https://form.jotform.us/51937039939166?patientId=001j000000oIsI0 

    I have cloned your form on my side in order to test it and I have seen that you have set the Patient ID field hidden. I have set it visible in order to test and I am able to prepopulate it as you can see the screenshot below:

    Please try and if you need further assistance, let us know.

    Thank you.