How to hide fields that were shown based on other fields selections?

  • becca718
    Asked on October 26, 2016 at 8: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.  

  • Kevin Support Team Lead
    Replied on October 26, 2016 at 9: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: 

    How to hide fields that were shown based on other fields selections?  Image 1 Screenshot 40 

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

    How to hide fields that were shown based on other fields selections?  Image 2 Screenshot 51

    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. 

    How to hide fields that were shown based on other fields selections?  Image 3 Screenshot 62

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

    Hope this helps.