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

    Condition to hide a hidden field(from properties) causes it to be displayed

    Asked by PeterWilson on May 28, 2017 at 07:19 PM

    There is an error in the logic of the Conditions where:

    I have hidden a field. Using normal "hide" in field's settings.

    I create a Condition on another field that has multiple "hide this field"s, including the one I have hidden statically.


    Hiding a field a second time should NOT toggle it's state to "SHOW" again, but it is.

    Hiding a field a second time should just make certain the field is now "Hidden" if it is showing.

    This seems to be an error in the way the condition logic is behaving.

    This is a problem because, if you have hidden a field higher in the form, or lower, it will be toggled to it's opposite state and should not be shown.

    Could you advise why this is happening?

  • Profile Image
    JotForm Support

    Answered by Chriistian on May 28, 2017 at 08:46 PM

    Hi there,

    I have tried to create a test form with conditional logic that will hide a field. Next is I have set another field with conditional logic to hide multiple fields including the first field that already has a condition to hide. Upon performing tests on the form,

    Upon performing tests on the form, hiding the field for the second time works, it is hidden completely on the form. Here's my demo form: https://form.jotformpro.com/71477719163969.

    However, if I misunderstood your query, please provide us more details. If possible, please provide us your Form URL which you are currently working on and which you have set the conditional logic so that we can further check

    We'll wait for your response.

  • Profile Image

    Answered by shleebs on May 29, 2017 at 12:43 AM

    Thanks for response Chriistian,

    However, as I stated, the field was hidden using the "Hide" in the settings for the field (advanced settings), NOT in a condition to begin with.

    Then I created a condition later on another separate field that would hide multiple other fields including this field that had been hidden previously by the other method of "hide" in advanced settings.

    This issue, is the field set as "hide" in advanced settings for that field and then One Conditional logic (on a separate field) to Hide others + the one in question.

    It seems to be toggling the Hide state, instead of checking visibility and then hiding it if visible.

    You need to :

    1) Create a field that is set "Hidden" (in it's advanced settings) eg just a line of text.

    2) Create a second field that is normally visible. eg just a line of text.

    3) Create a third field with a question. eg Two tick boxes (A and B).
    Then create "one" condition to Hide First and second field (1 & 2) if the answer is second tick box B.

    I'm sorry I don't see any conditions or anything on your example except three text fields, don't know how this relates to conditional question fields with multiple choices or hidden fields?

    Try the setup I've suggested to get the error in logic.


    Kind regards,

    Steve Liebelt (Web developer on behalf of Pete Wilson)



  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 29, 2017 at 01:47 AM

    Hello Steve,

    I did test this issue and I am able to replicate it as you have mentioned. Please note that this is not an issue or a bug.

    Whenever you add a condition in form to hide a form field and if the condition is satisfied the fields will be hidden but if the condition is not satisfied, the form fields will be visible. In the example you have mentioned, even if the form fields is hidden from properties window you have added condition to hide it as well. If the condition is not met/satisfied, the fields will be shown in form.

    Here is the test form:  https://form.jotformpro.com/71481297354967

    Thank you!