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

    How can I "Show" fields depending on the answer to another field?

    Asked by GICS on June 09, 2015 at 08:57 PM

    I have found that if I have fields that are hidden (as part of the field definition under the right click) and then I try to show them from a condition, that they don't show.

    The only way I can do this is put show fields on another page and then hide the ones that I don't want to see from the condition.

    is there a better solution to this?


  • Profile Image

    Answered by Boris on June 10, 2015 at 02:58 AM

    Hello Peter.

    What we usually do in such circumstances, would be one of two things with Conditional Logic:

    1. Put your different questions on different pages, and than use Skip to page or end of form to skip to the page containing the desired questions, based on the answer the user has given.

    2. Another approach is to use the sort of a negative expression with Show/Hide a form field, and Hide or Hide multiple if the answer is NOT correct.

    So, instead of writing If Peter Is Equal To A great guy, Show Thank you!, we would be writing it as:

    If Peter Is NOT Equal To A great guy, Hide Thank you!

    Please see this cloned and edit form of yours, to see approach two in action: http://www.jotformpro.com/form/51602015476953 (you can clone it to take a closer look)

    Please let us know if you need further assistance.

    (Very nice form, by the way. I do think Peter is a great guy. :) )

  • Profile Image

    Answered by GICS on June 10, 2015 at 04:09 PM

    Thanks Boris.

    So, conditions are activated as soon as a form is opened?  So that these "negative" initial conditions are imposed without the user of the form doing anything?

    I was just struggling with why the text fields were not visible when I first opened the form.


    cheers, Peter (GICS)

  • Profile Image

    Answered by Carina on June 10, 2015 at 05:10 PM

    On behalf of Boris you are welcome.

    If you need further assistance please let us know as we're here to help.