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

    Auto populate form via URL variable not working.

    Asked by dbramley on July 10, 2011 at 05:38 AM


    Hi,

    I have a form:


    http://www.jotform.com/form/11530401402 and I would like to autofill one of the fields. The field is named

    name="q5_contactFrom" If I use the following: http://www.jotform.com/form/11530401402?q5_contactFrom=TEXTHERE nothing is filled in.

    Am I doing something wrong?

    Thanks

     

     

  • Profile Image
    JotForm Support

    Answered by liyam on July 10, 2011 at 08:34 AM

    Hello,

    Thank you for posting your inquiry.

    To prepopulate your form using URL parameters, you will no longer have to include the first few characters of the field name up to the underscore.  So if you have the name of the field q5_contactFrom, you no longer have to include 'q5_', so it will just be 'contactFrom'.  You can try this one out on your form:

    http://www.jotform.com/form/11530401402?contactFrom=test message here

    If you have other questions or concerns, please do not hesitate to start a new post.

    Warm regards,

    Liyam

  • Profile Image

    Answered by beachy on August 01, 2011 at 12:46 PM

    Is this feature browser dependent?

  • Profile Image
    JotForm Support

    Answered by liyam on August 01, 2011 at 04:32 PM

    Hello beachy,

    This works on all browsers.  Are you having an issue making it work on your form?  If so, please tell us more details about issue.

    Thanks,

    Liyam

  • Profile Image

    Answered by beachy on August 02, 2011 at 10:57 AM

    Hi Liyam,

    Yes I am having issues in FireFox. It seems to work just fine in IE but not in FireFox.

    http://form.jotform.com/form/11985714396?&vendornumber=378143

  • Profile Image
    JotForm Support

    Answered by liyam on August 02, 2011 at 01:50 PM

    Hello beachy,

    Thanks for the details.

    I have checked the source of your code, and noticed that you're missing the 57 at the end of the field name parameter.  Please try this one instead:

    http://form.jotform.com/form/11985714396?&vendornumber57=378143

    If you have other questions or concerns, please let us know.

    Thanks,

    liyam

  • Profile Image

    Answered by beachy on August 03, 2011 at 10:11 AM

    This link works in IE but still doesn't work in FireFox:

    http://form.jotform.com/form/11985714396?&vendornumber57=378143

  • Profile Image
    JotForm Support

    Answered by liyam on August 03, 2011 at 10:15 AM

    Hello beachy,

    I'm sorry about this.  I forgot that the field names for URL parameters are case sensitive.  So it should be http://form.jotform.com/form/11985714396?vendorNumber57=378143

    Warm regards,

    Liyam