How can I show/hide elements based on an input table checkbox?

  • ETC_Group
    Asked on September 17, 2024 at 1:08 AM

    How do I make the 'Description of fault' and 'Photo of fault' only appear when 'Fault' is selected in the input table? I have tried so many different conditions, including adding values to the rows and a calculation box but still can't get it working. We did it at my old company so I know it can be done, I just can't figure out how. Please help!

    Jotform Thread 19076531 Screenshot
  • Kobe JotForm Support
    Replied on September 17, 2024 at 3:24 AM

    Hi ETC_Group,

    Thanks for using Jotform. I cloned your form and saw that your conditions aren't configured correctly. Let me show you how to fix it.

    First, you'll need to disable all of your current conditions. Let's do it:

    1. In Form Builder, at the top of the page in the orange navigation bar, click on Settings.

    2. In the menu on the left side of the page, click on Conditions.

    3. Under the search bar, click on Select All.

    4. Finally, click on Disable. That's it.

    How can I show/hide elements based on an input table checkbox? Image 1 Screenshot 50

    Now, let's add a Show or Hide Field Condition. Let me show you how:

    1. While you're still in the Conditions page, at the top of the page, click on Add Condition.

    2. Click on Show/Hide Field.

    How can I show/hide elements based on an input table checkbox? Image 2 Screenshot 61

    3. Set your conditions as:

    IF: Calculation

    STATE: Contains

    TARGET: Value

    VALUE: 2

    DO: Show Multiple

    FIELD: Description of fault & Photo of fault

    4. Finally, click on Save. That's it.

    How can I show/hide elements based on an input table checkbox? Image 3 Screenshot 72Here is a screencast of the final result:

    How can I show/hide elements based on an input table checkbox? Image 4 Screenshot 83

    Give it a try and let us know how it goes.

  • ETC_Group
    Replied on September 17, 2024 at 8:24 PM

    I've got it sorted! Thanks so much Kobe

Your Answer