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

    What's the logic behind this conditional behavior?

    Asked by boligskjema on March 22, 2017 at 10:09 AM

    Is it a bug or reasonable logic that makes the red text in my demo form visible when the page loads, even though it's hidden by default? I understand that it is my conditional rules that trigger this (see the attached image), but both rules should be False when the page loads, and therefore do nothing.

    If I change their order, the red text will be hidden until the first question is answered Yes (like it should), but that seems more like a hack than fixing the real problem.

    When the forms get longer, with a lot of conditional rules, this apparently illogical behavior gets harder to tame.

    Page URL:
    https://form.jotformeu.com/70804056986363

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Kiran on March 22, 2017 at 02:01 PM

    When the form is loaded neither of the options is selected on the form which makes both the conditions to fail and so the hidden text should not be displayed. However, it is not required to set two conditions for show and hide for the field unless the fields in the rules are different. If the condition is set to show, it will be automatically hidden when the condition is false and it is also not required to hide the field manually. 

    Based on your requirement, only one condition is sufficient and the text field need not be hidden manually.

    Hope this information helps!