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

    Conditionally hidden field is still shown on a form

    Asked by gsobeautiful on July 31, 2015 at 03:09 PM

    I swear this form was working before it went live! The condition that is not working now is:

    If "Do you wish to purchase additional tickets?" equals "No", then Hide "Please enter the number of tickets you wish to purchase".

    Page URL:
    http://www.jotform.com//?formID=51744194525963

    purchase additional conditions show hide hide field show field
  • Profile Image

    Answered by Ben on July 31, 2015 at 05:00 PM

    I took a look at your jotform and I see the issue.

    The issue is that one of your rules is saying that it should be shown while the other says that it should not be shown - with the one that is set to show it having bigger priority.

    That is however not all. The most important part is that you are only checking if the option No is selected, and since it is already shown, you want to hide it so I made just a slight modification of the conditions to make this all work together:

    You can see it here working as it should: http://form.jotformpro.com/form/52116924129958

    To see the reason why it now works and why it was not, lets just turn the conditions into statements.

    Original:

    If You would like to purchase additional tickets field is set to No, then I want to hide the field Please enter the number of tickets that you wish to purchase, since we will not need it.

    Changed:

    If You would like to purchase additional tickets field is not equal to Yes, I do not care if it is set to no or not set yet, I just wish to hide the field Please enter the number of tickets that you wish to purchase so that it is not in the way.

    While it might not look it at first, if you imagine the words that you are thinking you will see the conditions that you must set:

    IF {You would like to purchase additional tickets} field is not equal to "Yes", I do not care if it is set to no or not set yet, I just wish to hide the field {Please enter the number of tickets that you wish to purchase} so that it is not in the way.

    :)

    Do let us know if you have any further questions or issues and we would be happy to assist and help you sort them out :)