Is there a way I can use hidden fields to show certain questions?

  • Profile Image
    Asked on August 09, 2011 at 04:01 PM

    I am trying to create a form that asks users for similar information, but I want a certain class of people to have access to an extra few questions (without the other group knowing). Is there a way I can display extra questions for people coming from a certain site? I have a hidden field that can tell me when users are coming from email references (ex: but when I try to set a condition to hide when website DOES equal email, it doesn't work.


    Any Ideas/ Input?



  • Profile Image
    Answered on August 09, 2011 at 04:52 PM


    Unfortunately, hide/show conditions can only be triggered by user-initiated actions. "Skip to page" conditions, on the other hand, can be triggered by prepopulating any type of fields except the hidden field (Power Tools > Hidden Box).

    My suggestion is to replace the hidden box with a text box field, then use "Skip to page" conditions so that if the value of the text box field is blank or not equals to 'email', the form will skip the page with the extra fields. You need to separate the extra fields in its own page, preferrably in the second page.

    You can then hide the text box field (website) using css injection. To do so, look up the source code of the form (Right-click >View Source), then find the id of the

    tag that contains that particular text box.


    For example:

    Then, use that ID in this css code:

    #id_24 {

    Take a look at the sample form below to see this workaround in action:


    Feel free to contact us again if you have further questions regarding this topic. Thanks!



  • Profile Image
    Answered on August 09, 2011 at 05:02 PM

    Thanks! This looks like it should work nicely!

  • Profile Image
    Answered on August 09, 2011 at 05:15 PM

    Glad to be of help. Update us on your progress and let us know if you experience any difficulties along the way.


  • Profile Image
    Answered on January 12, 2012 at 11:13 AM

    I have the same problem and I can see some problems with the suggested using pages:

    1. I have over 25 fields on my form that should be displayed on a single page. One of the fields should be show/hidden basing on a query param. From what I understand using solution with pages I would have to recreate all 25 fields on other page just to implement that hidding of a single field. Am I right?

    2. How do I apply CSS changes to a form that I embed on my page using your script link if it generates an iframe?

    3. The button text would say 'Next' instead of 'Submit'. Can this be changed?

    4. The example pages don't seem to work for me i.e. both links show the same form, no differences there.

    Is there any otehr solution to that problem? We have our own installation of JotForm deployed - maybe it's an easy code change?

  • Profile Image
    Answered on January 12, 2012 at 11:40 AM


    Can you please open a new thread for your issue, providing as much detail as possible and include the URL/ID of the form you have been working on and we will do our very best to help you out.