How to have complex Show and Hide conditions using Condition Logic

  • JamAcorns
    Asked on November 18, 2014 at 2:33 AM

    Hello Jotform,

    I'm working on a form, which needs to allow my customers to enter the same record multiple time - up to 16, so the use of tabs is a bit intimidating for the users;

    Given this, I'm working on the idea of allowing each of the 16 records to be displayed in collapsed form - and expanded by the customer, if and when required - please see attached demo form;

    Couple of problems - e.g on expanding Order 1

    1. What Fruit? is displayed, even though Fruit Wanted is defaulted to No - correct conditional rule is in place, because if you click Yes then No, the What Fruit? question disappears as expected.

    2. I've got a Hide checkbox at the end of each record, as in my production form there are a lot of fields to fill in, so once they get to the bottom of the form I want them to be able to collapse/hide the record without the need to scroll back to the top of the record to uncheck Expand Order 1.

    Any ideas on how to solve the above 2 problems - or is there another method to achieve the same outcome?

    Regards

    JamAcorns

     

  • jonathan
    Replied on November 18, 2014 at 7:40 AM

    Hi,

    #1

    You need correction on your condition rules as there are conflicting rules on them.

    How to have complex Show and Hide conditions using Condition Logic Image 1 Screenshot 40

     

    You can correct it like this

    How to have complex Show and Hide conditions using Condition Logic Image 2 Screenshot 51

     

    #2

    The hide checkbox is kind of redundant already.. you can actually just use the same Order "Expand" checkbox for the same purpose.. check/uncheck will toggle the show/hide action.

    How to have complex Show and Hide conditions using Condition Logic Image 3 Screenshot 62

     

    Anyway, I created a test form you can try here http://www.jotform.me/form/43212746121444

    You can clone the test form to review it in your Form Builder

    User guide: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

     

    Hope this help. Inform us if you need further assistance.

    Thanks.

  • JamAcorns
    Replied on November 18, 2014 at 2:59 PM

    Hi Jonathan,

    Thank you for your detailed explanation above - and your fantastic worked example - exactly what I was looking for, customer services at it's best! :-)

    Regards

    JamAcorns

     

  • David JotForm Support
    Replied on November 18, 2014 at 4:12 PM

    On behalf of my colleague you are very welcome! Let us know if there is anything else we can help you with and we will be happy to do so.