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

    Problem with Show / Hide field when using field pre-population

    Asked by robertclark1 on March 23, 2011 at 07:37 AM

    Re our form 3351157460 - Just tired to add a new show/hide field

    Show / hide field does not work properly in this form IF you use field pre-population (via the URL that links to the form)

    Works fine if you manually enter the field contents, or select from a drop down field, but it does not work if the field is pre populated.

    Is this a known issue or am I doing something wrong?

    The form is live, so I jave temporarily removed the offending fields.




  • Profile Image

    Answered by DanielGriffin on March 23, 2011 at 10:02 AM

    Hi there,

    I've just cloned your form and added a collapsible section, then prepopulated the email field using the url, like so:


    It seems to work fine, but there might be some difference for particular types of field.  Can you give me an example of the url you used to prepopulate the form please? If it were badly formatted (say for example if there were spaces in it) that might cause some problems with the javascript.



  • Profile Image

    Answered by robertclark1 on March 23, 2011 at 10:41 AM

    Hi Daniel

    Here is an example URL which works just fine


    Been using this type of link for ages with no problems

    What I need to do is to have a new field which 'shows' when the term Ashford is entered inthe the doorStyle field by the URL

    Can you make this work on your test version






  • Profile Image
    JotForm Support

    Answered by liyam on March 23, 2011 at 12:49 PM

    Hello Robert,

    Unfortunately, this feature is not available in the functions of JotForm.

    The hiding/showing of fields are being handled by javascript events from keypress and mouse actions.  Which means it requires these for the javascript to get the result.  Not sure if others can make it work via URL parameter but I have been unsuccessful trying this out for more than an hour already.


  • Profile Image

    Answered by robertclark1 on March 23, 2011 at 01:04 PM

    Hi Liyam - I suspected as much.

    Thanks for trying