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

    Prepopulation via URL

    Asked by falkirks on April 22, 2013 at 12:06 AM
    I know it is now possible to go http://jotform.com/form/737474747?email=blah@blah.com is there anyway I can prepopulate two values like http://jotform.com/form/737474747?email=blah@blah.com&?name=Bob
    Also is it possible to prepopulate invisible fields in this manner cause I don't seems to be able to.
  • Profile Image
    JotForm Support

    Answered by liyam on April 22, 2013 at 01:52 AM

    Hello falkirks.  Yes it is possible.  You just need to separate them with an '&' sign.

    So here's what you need to do:
    For the full name element, you need to find the name attribute of the fields on your form's HTML source code. 

    Example:

    ----

     <li class="form-line" id="id_1"> <label class="form-label-left" id="label_1" for="input_1"> Full Name </label> <div id="cid_1" class="form-input"><span class="form-sub-label-container">
    <input class="form-textbox" type="text" size="10" name="q1_fullName1[first]" id="first_1" />
    <label class="form-sub-label" for="first_1" id="sublabel_first"> First Name </label></span>
    <span class="form-sub-label-container">

    <input class="form-textbox" type="text" size="15" name="q1_fullName1[last]" id="last_1" />
    <label class="form-sub-label" for="last_1" id="sublabel_last"> Last Name </label></span> </div> </li>

    ----

    In the code above, you have found that the name values of the first name and last name text box attributes are:

         q1_fullName1[first]
         q1_fullName1[last]

    Next, get the values just right after the underscore (_), so you will have the following:

         fullName1[first]
         fullName1[last]

    Same process that you can do for hidden fields.  So on your URL parameters you can do this:

         www.jotform.com/form/12345678?fullName1[first]=will&fullName1[last]=gates&hiddenname=controllerhide&email=your@email.com

     

    Hope this clarifies your concern.  If you have further quesions, please do let us know.

    Thanks.