Need Help with Show/Hide Conditions

  • ZhouAgency
    Asked on August 10, 2024 at 12:26 PM

    Form: https://form.jotform.com/242216778200048

    Conditional logic does not work for the other options to show the corresponding pages.

    Homeowners

    Business Liability & Property

    Workers Comp

    Cyber

  • Ericson_B JotForm Support
    Replied on August 10, 2024 at 1:15 PM

    Hi Zhou,

    Thanks for reaching out to Jotform Support. I tested your form and found issues with your conditions. We can assist you in properly configuring them so that the fields that are expected to appear based on the type of claim. Can you tell us if a user can select multiple or just one claim? 

    Once we hear back from you, we'll be able to help you with this.

  • ZhouAgency
    Replied on August 10, 2024 at 1:18 PM

    They should only be able to select one form. I'm assuming I should have used a radio button instead of multi box right?

  • Ericson_B JotForm Support
    Replied on August 10, 2024 at 1:49 PM

    Hi Zhou,

    Yes, however we can still limit the option of the multiple choice field to one. But I reviewed your form and there are 8 options in the type of claim, but only 5 details pages are on the form. Are there options for the type of claim where they will see the same page? Can you provide all of the pages needed for each type of claim? You can simply provide the page number, and we will setup a cloned form for you to view the results. 

    Once we hear back from you, we'll be able to move forward with a solution.

  • ZhouAgency
    Replied on August 10, 2024 at 2:00 PM

    I've limited the options. Homeowners and Dwelling share the same page.

  • Ericson_B JotForm Support
    Replied on August 10, 2024 at 2:04 PM

    Hi Zhou,

    I understand what you’d like to do, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

    Thanks for your patience and understanding, we appreciate it. 

  • Ericson_B JotForm Support
    Replied on August 13, 2024 at 12:24 AM

    Hi Zhou,

    It's easy to accomplish what you like to do. Let me show you how:

    1. First, we must remove the pages 3 to 6. Simply hover your mouse over each page and click on Remove page

    Need Help with Show/Hide Conditions Image 1 Screenshot 100

    2. Then we remove the other submit buttons, leaving only the last submit button. 

    Need Help with Show/Hide Conditions Image 2 Screenshot 111

    3. Add a Show/Hide Field condition to show the fields based on the user's answer in Type of Claim field.

    a. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    b. In the panel on the left side of the screen, select
    Conditions.
    c. Select
    Show/Hide Field and then set your conditions just like you see below. 
    d. Then, click on
    Save and you’re done.

    Need Help with Show/Hide Conditions Image 3 Screenshot 122
    Need Help with Show/Hide Conditions Image 4 Screenshot 133
    Need Help with Show/Hide Conditions Image 5 Screenshot 144
    Need Help with Show/Hide Conditions Image 6 Screenshot 155
    Need Help with Show/Hide Conditions Image 7 Screenshot 166

    4. In addition, remove any existing conditions from your form to avoid conflicts with the new conditions I've set up. 

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. In the panel on the left side of the screen, select Conditions.
    3. Click on the old conditions or Select All if you have not yet added the new conditions, and then click Delete

    Need Help with Show/Hide Conditions Image 8 Screenshot 177

    5, You must also set a maximum entry limit of one in the type of claim field so that they cannot select more than one option. 

    a. Select your element's Gear icon to open its properties.
    b. Go to Surveying tab.
    c. Set the Minimum to 1 and Maximum to 1.

    Need Help with Show/Hide Conditions Image 9 Screenshot 188
    You can test and clone my cloned form here to check how it works with the new conditions applied. You migth also want to check out this guide about How to Clone an Existing Form From a URL.

    Give it a try and let us know if you have any other questions.

  • ZhouAgency
    Replied on September 20, 2024 at 12:37 PM

    Perfect, that worked, thank you for the solution