I need to show/hide page based on the user's answer in single-choice element.

  • klewickibusiness
    Asked on March 28, 2024 at 3:59 PM

    I'm needing to show/hide multiple pages and the contents inside of them depending on which radio button is selected.

  • Sidharth JotForm Support
    Replied on March 28, 2024 at 4:40 PM

    Hi Brandon,

    Thanks for reaching out to Jotform Support. I checked your form and noticed that you have created multiple pages with headings for each option of the single-choice element. However, you can add conditions to hide pages and simplify the form. Let me show you how:

    1. In Form Builder, Click on the Settings tab from the orange navigation bar.
    2. Click Conditions on the left menu.
    3. Select the SKIP TO/HIDE A PAGE condition.
    4. Add condition as shown below:
    5. In IF, select What type of work order element.
    6. In STATE, select Is Not Equal To.
    7. In Value, select One of the single-choice options.
    8. In DO, select Hide Page from the dropdown.
    9. In Page, select the Page element for the single-choice page
    10. Finally, click on the Save button. I need to show/hide page based on the users answer in single choice element Screenshot 40

    The condition should look like this.

    I need to show/hide page based on the users answer in single choice element Screenshot 51

    These are the conditions you should add for each single-choice element.

    I need to show/hide page based on the users answer in single choice element Screenshot 62

    We also have a guide about How to Skip Pages Using Conditional Logic that you can check out.

    Here's the cloned version of the form that you can test and clone

    Give it a try, and let us know if there's anything else I can help you with.