This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/workflow-automation/admin-guide/forms/form-rules-show-hide.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Form rules for dynamic workflow automation

The Rules tab will allow you to add rules that define certain behaviors for questions or sections in your form that are based on responses to questions that you have defined in your form. For instance, you can make certain fields/sections Show or Hide based on user input.


You’ll want to add all of your questions to your form prior to adding rules. Form rules can also be used to perform calculations in forms. See our calculations in forms article.


Form Builder tab with a red arrow pointing at the Rules tab above the User Information section

Start by selecting the Rules tab. You’ll be presented with the following.

Empty Rules tab with Add Rule and Delete Rule buttons above a rules table with no entries

To add a rule, select Add Rule and then Add Condition:

Rule Builder with a blank rule and a red arrow pointing at the Add Condition button

You can add as many conditions and effects as you would like to your form. The conditions can be a mix of conditionally showing/hiding specific questions or sections in your form.

We’ll use a couple of examples of showing/hiding questions and sections in a form.

This example is a rule that uses a condition where a user selecting Yes to a question called Hardware? will be shown two other fields called Type and Other Hardware:

Rule where Hardware contains Yes shows the Type and Other Hardware questions, with both effects outlined in yellow

Steps for adding a rule:

  1. Give the rule a Name (required):

    Rule section with the Name field filled in as Hardware = yes

  2. Select Add Condition. This will present a dropdown list of all of the questions in your form. Select the question that you want to base your condition on:

    Rule condition row with the Hardware question selected and a red arrow pointing at its drop-down

  3. Depending on the question (multichoice, short text, etc.), the choices will appear in the row of the question. Select the Operator and then the result:

    Condition row Hardware contains Yes with a red arrow pointing at the contains operator drop-down

    You can optionally add multiple conditions for the Effect that you want. In this example, we are adding two conditions — if the answer is Yes to the Hardware? question AND the user enters Smith in the Last Name question:

    Two rule conditions, Hardware contains Yes and Last name equals Smith, outlined in yellow and joined by AND

    When adding Conditions, you select:

    • The question to base the condition on
    • The Operator (equals, less than, less than or equal to, greater than, greater than or equal to, contains, does not contain)
    • The answer/result for the question

    You can optionally add groups of conditions to your form. Select Add Group, and then you can choose the AND/OR operator for the group of conditions.

    Rule with two conditions and the Add Group button outlined in yellow, plus a nested group below them

  4. You’ll then need to add the Effect that you want for the conditions that you defined. In this example, we are going to show the Other Hardware question AND the Other System Access Needed section if the user selects Yes to the Hardware? question and the user enters Smith into the Last Name field:

    Effects section outlined in yellow showing Other Hardware question and Other System Access Needed section both set to Show

    When adding Effects, you select:

    • Either Question or Section in the form that you want an effect on.
    • The specific question or section that you want
    • The Effect of either Show, Hide, Disable, Enable, Required, Unrequired, or Set Answer. For more information on using Set Answer with a function, see our calculations in forms article.
  5. Create Inverse Rule. Optionally select Create Inverse Rule to create an inverse of the rule that you created.


You’ll need to account for the inverse of the rule that you created for the rule to take effect. By selecting Create Inverse Rule, the rule definition will be created for you.


Rule Name field with the Create Inverse Rule checkbox selected and a red arrow pointing at it

What this does is create the inverse of the rule so you can account for the inverse of the conditions and effects that you created for the user’s selections in the form:

Inverse rule with OR, does not contain Yes and Last name not equal to Smith, hiding Other Hardware and the access section

Once you have completed your Rule definitions, you’ll be able to edit or delete them from the Rules tab:

Rules tab listing the Hardware = yes rule and its Inverse rule with pencil edit icons, outlined in yellow

Use the Preview tab to test both sides of every condition. For the Hardware example, enter Smith in the Last Name question and answer Yes to the Hardware? question. Confirm the dependent question and section appear. Change either answer and confirm they return to the intended hidden state. Test this before you use the form in a live process. If the form doesn’t return to its original state after an answer changes, review the inverse rule.

Here are the questions available for our example should the user enter Smith in the Last Name field AND select No in the Hardware? field:

Form preview with Last name set to Smith and Hardware set to No, with red arrows and no Other Hardware question shown

And if the user selects Yes in the Hardware? field, the Show conditions are met and both the Other Hardware question and the Other System Access Needed section are displayed:

Form preview with Hardware set to Yes now showing the Other Hardware checkboxes and the Other System Access Needed section

Form rules can also be used to perform calculations in forms. See our calculations in forms article.