Show section collapse depending on user answer

  • Profile Image
    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

  • Profile Image
    Michal_S
    Answered on January 10, 2022 at 02: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_

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

      show_hide_fields.png

    • Set it up like this:

      1641844406_61dc8eb63a784_

    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!