Skip to main content
All CollectionsBuild & customizeForm logic & calculations
Debug conditional logic and see why it’s not working as expected
Debug conditional logic and see why it’s not working as expected

Show/hide logic auto-manages visibility for next questions. Use conditions for each desired show action.

Updated this week

When using conditional logic in forms, it is important to understand how the system automatically handles the visibility of questions based on your logic setup.

Follow these steps to troubleshoot and ensure your logic functions correctly.

Understanding Show/Hide logic

The Show/Hide logic in Formaloo automatically manages the visibility of fields, ensuring that when a condition is met, the relevant fields are shown, and others remain hidden.

You only need to add "show" conditions—there’s no need to add separate "hide" conditions for the same field.

Example: Showing fields based on single-choice answers

Imagine you have a single-choice question with two possible options, and you want to display different fields based on the user’s selection.

For example:

  • If the user selects Option 1, you want to show the Score field.

  • If the user selects Option 2, you want to show the Email field.

Setting up the conditional logic

  1. Create the first condition:

    • Condition 1:

      • If the answer to the single-choice question is Option 1,

      • Then show the Score field.

  2. Create the second condition:

    • Condition 2:

      • If the answer to the single-choice question is Option 2,

      • Then show the Email field.

conditional logic

Important note:

The system will automatically handle hiding the irrelevant field based on the logic you’ve added.

For example, when Option 1 is selected, the Email field will remain hidden without needing to set an explicit "hide" condition.

Troubleshooting common issues:

If your logic isn’t working as expected, here are a few steps to debug:

  1. Check conditions carefully:

    • Ensure each condition is clearly defined, and there are no overlapping or conflicting rules.

  2. Review the field dependencies:

    • Make sure the conditions are tied to the correct field and action (e.g., showing the right field based on the selected answer).

  3. Test the form:

    • Test the logic by going through the form and selecting different options to verify that the fields appear/disappear as intended.

show/hide logic
Did this answer your question?