Field showing despite being hidden with no condition triggering visibility

  • scottjohngraham
    Asked on April 13, 2024 at 4:09 AM

    Hi team,

    I have a form with quite a lot of logic. All of my form fields are hidden. OnSelection of any of the items below, I have conditional logic to show hidden questions.

    Field showing despite being hidden with no condition triggering visibility Image 1 Screenshot 30

    Issue: The follwing question, which is only triggered if 2 conditions are met (laptop selected, and then year is not equal to 2021), is appearing regardless of what answer is selected above. E.g. if I select printer, the next question is this. I've checked my conditional logic and it seems correct. I've also cloned the form to troubleshoot but the issue persists.

    Field showing despite being hidden with no condition triggering visibility Image 2 Screenshot 41

  • Ravi JotForm Support
    Replied on April 13, 2024 at 4:56 AM

    Hello Scott,

    Thanks for reaching out to Jotform Support. I checked your TaxNav MVP Proto form. The condition seems to be incomplete and that is the reason when you are able to see the Laptop Cost field.

    As you mentioned above, you wanted to show this field only when laptop selected, and then year is not equal to 2021. The condition you created in your form is just based on the year selected field.

    Field showing despite being hidden with no condition triggering visibility Image 1 Screenshot 60

    When users are not selecting laptop (For this "Did you buy any of the following electronics in the past 4 years?*" field) then the above field (What year did you buy the laptop?*) is hidden, which makes the above condition true.

    If the field (What year did you buy the laptop?*) is hidden, the value is not equal to 2021 and that is why you can see the below field even when you select any other electronic Item.

    Field showing despite being hidden with no condition triggering visibility Image 2 Screenshot 71

    This is how your conditional logic will look :

    Field showing despite being hidden with no condition triggering visibility Image 3 Screenshot 82

    This is how it works after updating the condition :

    Field showing despite being hidden with no condition triggering visibility Image 4 Screenshot 93

    You can add the additional condition by clicking on the + Icon beside the condition. Check out the below screencast :

    Field showing despite being hidden with no condition triggering visibility Image 5 Screenshot 104

    I have made changes to the cloned form. Here is the link to the clone form. If needed, you can clone my form to check the condition. We also have a guide on How to Clone an Existing Form From a URL that you can check out.

    Reach out again if you need any other help.

  • scottjohngraham
    Replied on April 13, 2024 at 5:34 AM

    Thanks Ravi - this makes sense. Great explanation!

  • Ravi JotForm Support
    Replied on April 13, 2024 at 5:38 AM

    Hello Scott,

    Thanks for your feedback. We're pleased to hear that the issue has been resolved. I've updated your ticket status to Resolved.

    If you have any more questions or need more help, please reach out anytime.

 
Your Answer