Conditional Logic: Request for Nested Boolean Combinations to Enhance Functionality

  • Profile Image
    ACMSIdaho
    Asked on April 24, 2026 at 12:57 PM

    The limitations of Simple Boolean Expressions in Jotform conditional logic is really maddening sometimes. It makes me have to construct multiple conditional statements. Jotform could be SIGNIFICANTLY enhanced if you were to provided nested Boolean Combinations.

  • Profile Image
    Podo: Support Specialist
    Replied on April 24, 2026 at 12:58 PM

    Hi Steven,

    Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.

    Regarding your feedback on the limitations of Simple Boolean Expressions in Jotform conditional logic, Jotform currently supports logical functions and operators that allow you to create conditions using AND, OR, NOT, and other logical operators within the Advanced Formula feature in Jotform Tables. These logical functions can be combined to create complex conditional expressions.

    For example, you can use the AND function to require multiple conditions to be true, or the OR function to allow any condition to be true. Nested logical combinations can be constructed using these functions in formulas, which can help reduce the need for multiple separate conditional statements.

    In Jotform Workflows, the If/Else Condition element allows you to add multiple conditions and specify whether all conditions (ALL) or any condition (ANY) must be met for the workflow to proceed along a certain path. This provides a way to build nested Boolean logic in your approval flows.

    Here’s a brief overview of how you can use these logical functions:

    • AND(logical1, logical2, ...): Returns TRUE if all arguments are true.
    • OR(logical1, logical2, ...): Returns TRUE if any argument is true.
    • NOT(logical): Reverses the logical value of its argument.
    • IF(logical, value_if_true, value_if_false): Returns one value if condition is true, another if false.

    These functions can be combined and nested within formulas to create more advanced conditional logic.

    If you are working within the Form Builder, conditional logic is set up via the Settings > Conditions menu, where you can create Show/Hide Field, Update/Calculate Field, and other conditional rules. While the interface may seem limited to simple Boolean expressions, using the Advanced Formula in Tables or the If/Else Condition element in Workflows can provide more complex logical capabilities.

    Let us know if you want guidance on how to implement specific nested logic scenarios in your forms or workflows.

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

  • Profile Image
    ACMSIdaho
    Replied on April 24, 2026 at 1:00 PM

    I want to be able to use nested conditional logic statements to show/hide/require fields.


  • Profile Image
    Podo: Support Specialist
    Replied on April 24, 2026 at 1:00 PM

    Hi Steven,

    Let me help you with that:

    To use nested conditional logic statements to show, hide, or require fields in Jotform, you can set up conditional logic rules in the Form Builder under the Settings > Conditions menu. Here’s how to do it:

    1. Go to Settings in your Form Builder.
    2. Select Conditions from the left panel.
    3. Choose Show/Hide Field to create rules that show or hide fields based on other field values.
    4. Set up your condition using multiple rules combined with AND/OR logic to simulate nested conditions. For example, you can specify that a field shows only if Field A is equal to X and Field B is equal to Y.
    5. Use Require/Enable Field conditions to make fields required or enabled based on other field values.

    Additionally, you can use the Section Collapse element to group fields and show/hide entire sections based on conditions, which helps manage complex nested logic visually.

    For more advanced logic, you can also use the Update/Calculate Field condition to insert values or perform calculations conditionally.

    Here are some helpful resources to guide you through the process:

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

  • Profile Image
    ACMSIdaho
    Replied on April 24, 2026 at 1:01 PM

    BUT you can't do something like

    Show field Z if Field A = 1 or Field A =2 and Field B = 10 and FIeld C = 10


  • Profile Image
    Podo: Support Specialist
    Replied on April 24, 2026 at 1:02 PM

    Hi Steven,

    I understand your concern about creating complex nested conditional logic like Show field Z if Field A = 1 or Field A = 2 and Field B = 10 and Field C = 10.

    In Jotform's Form Builder conditional logic, the interface does not directly support complex nested Boolean expressions combining AND and OR in a single condition as you described. However, you can achieve this logic by creating multiple conditional statements that work together to simulate the nested logic.

    Here’s how you can approach it:

    1. Create separate conditions for each part of the OR condition. For example, one condition for Field A = 1 and Field B = 10 and Field C = 10, and another for Field A = 2 and Field B = 10 and Field C = 10.
    2. Set both conditions to show Field Z. This way, if either condition is true, Field Z will be shown.
    3. Use the AND operator within each condition to combine the checks for Field B and Field C.

    While this requires multiple conditions, it effectively replicates the nested Boolean logic you want.

    Alternatively, for more advanced logic and calculations, you can explore using the Update/Calculate Field conditional logic or the Advanced Formula feature in Jotform Tables, where you can use logical functions like AND(), OR(), and NOT() to build complex nested expressions.

    Here are some helpful resources:

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

  • Profile Image
    ACMSIdaho
    Replied on April 24, 2026 at 1:02 PM

    We agree completely and I think it's a limitation that JotForm should grow out for as long as you have been around.

  • Profile Image
    Podo: Support Specialist
    Replied on April 24, 2026 at 1:03 PM

    Hi Steven,

    One of our Support Team members will take it from here to follow up shortly.

  • Profile Image
    Kyle JotForm Support
    Replied on April 24, 2026 at 1:30 PM

    Hi Steven,

    You’re right, Form Builder conditions don’t currently support nested AND/OR logic in a single rule. Complex expressions like Show field Z if Field A = 1 or Field A = 2 and Field B = 10 and Field C = 10 require multiple conditions to simulate the outcome.

    While that feature isn’t available in Jotform right now, I’ve sent your request to our Developers for review. When or if it gets developed will depend on their current workload, how possible it is, and how much demand there is from other users. If/when we have any updates, we’ll follow up here and keep you posted.

Your Reply