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 to hide fields that were shown based on other fields selections?

    Asked by becca718 on October 26, 2016 at 08:58 PM

    One more issue - When I click the checkbox for "Addiitonal Package" The new text boxes pop up.  THen I select cm or inches and the "weight" field shows up.


    However, when I unclick the first "Additional Package" check box, all of the textboxes dissapear as they should except the one for "weight" that is supposed to hide when the "Additiojnal Package" box is unchecked.  

  • Profile Image
    JotForm Support

    Answered by Kevin_G on October 26, 2016 at 09:08 PM

    This happens because currently a field will keep the selection or input even if you hide it with conditions, then the condition that shows the other field still triggers. 

    What you need to do is set the form to clear fields on being hidden, first open the form preferences: 


    Once on the form preferences go to the advanced tab and click on the show more button: 

    Then set the "Clear Hidden Field Values" option to "Clear On Being Hidden", this way when a field that triggers a second condition is hidden, the value will be cleared so the conditions will not be still triggered even when the field is hidden. 

    Here is my cloned form of yours where you can see how it works: https://form.jotform.com/62998006544969 

    Hope this helps.