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

    Is it possible to have a hidden field that appears only under certain conditions?

    Asked by akotoulas on September 04, 2011 at 01:44 AM
  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 04, 2011 at 03:41 AM

    Hi Argyris,

    When you say "hidden field", do you mean the Hidden Box field found under the Power Tools section?


    If this is what you're talking about then the answer is no. Hidden box fields can never be displayed in a form because they use the html tag <input type="hidden"> which, when interpreted by the browser is a field that's invisible to the user.

    JotForm's form builder uses a dashed box to represent this field so that you, as the form owner, will be able to see it and set its default value property.

    Try using a text box field instead then make it appear only under certain conditions. If possible, kindly share to us what exactly you want to accomplish so we can give more sensible suggestions for you to ponder on.


  • Profile Image

    Answered by akotoulas on September 04, 2011 at 10:50 AM
    Thank you. No, I mean any type of field, like a Drop Down field for example. What I was trying to achieve was the following. 
    Let's say we have field "A" that has two options, option 1 and option 2. Then somewhere in the form there are two other fields, field "B" and field "C". Both B and C are not visible but if you click on option 1 in field A, field B appears or if you click on option 2 then field C appears. That way I can have the form drastically change as the user progresses down the form. I was thinking that since you can make fields disappear why can't you make them also appear based on user input.
  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 04, 2011 at 03:15 PM

    Of course, this is very much possible using the Show/Hide conditions as well. The way hide/show conditions work is like this - when a field is involved in a "show" condition, it will remain invisible in a form unless that condition is met. So what you need is a single "show" condition and there is no need for a "hide" one. Same goes for a field involved in a "hide" condition, it shall remain visible unless the condition defined is satisfied by the user.

    Click here to view a sample form

    Here are the conditions I implemented on that form:



    Notice that Fields B and C are kept hidden throughout the form and will only display when these respective conditions are satisfied. Choosing any other options in Field A will do nothing.

    Hopefully this answers your question. Thanks!


  • Profile Image

    Answered by akotoulas on September 04, 2011 at 04:52 PM

    Fantastic! Thank you.

  • Profile Image

    Answered by CuevasDesign on December 31, 2012 at 01:50 AM

    This service is defenatly worth paying for. Thank you for all the support jotform! :)