Show section collapse depending on user answer

  • NWimplant
    Asked on January 10, 2022 at 12:47 PM

    Hello;

    Is there an option like this?

    Do you have insurance? Yes or No?

    Yes. The collapse will pop out

    No. The patient just move on to the next section

  • Michal_S Jotform Support
    Replied on January 10, 2022 at 2:57 PM

    Hello!

    Yes, this is very easily achievable using the Show/Hide Field conditions.

    Here's a demo:

    https://www.jotform.com/220095357810049/

    Here's how to achieve this:

    • Add a Single Choice with your options and the Section Collapse element (both are available from the Basic Form Elements panel)

    • Place whatever you wish to be hidden behind the Collapse after the Collapse

    • To end the collapse (keep the remaining elements visible in the form), add another Section Collapse and set it up like this:

      1641844328 61dc8e68091a7  Screenshot 10

    • Navigate to Settings, Conditions and add a new Show/Hide Field condition:

      show hide fields Screenshot 21

    • Set it up like this:

      1641844406 61dc8eb63a784  Screenshot 32

    Related guides:

    How to Show or Hide Fields Based on User’s Answer

    Show or Hide Multiple Fields at Once Using the Section Collapse Field

    Let us know if you require any further assistance,

    Thank you!