Show form fields conditionally in a subtask
Updated
Conditional Display shows a field inside a form subtask only when other answers in the same form match the values you set. People filling in the form see only the fields that apply to them.
This article covers conditions on fields inside a form. To send people down different subtasks based on an answer, use branching instead. A Yes/No, single-selection or dropdown subtask splits the Task Builder's flow chart into one branch per answer. See Creating multi-step tasks.
Open the Task Builder
In a project: open the task's panel and select Open Task Builder. The button doesn't appear in archived projects. Once the task has been worked on, its subtasks are disabled and can't be changed.
In the Library: select the task's name in the Library task list to open the task editor, then select the Subtasks tab.
The center of the Task Builder is a flow chart of the task's subtasks. To add a form, drag a form step type from the list on the left onto the flow chart. The list has a Search step types... box and appears only to people who can edit steps.
Set a condition on a form field
In the form subtask, select the field you want to show conditionally.
In the field's configuration panel, open Conditional Display. It reads No conditions set until you add one.
Select Configure to open Configure element conditions.
Add a condition that compares another field's answer to an expected value.
Optional: Add more conditions. The first condition starts with Where. On the second condition, choose and from the dropdown to match when all conditions are true, or or to match when any one is true.
Select Save.
The section now reads Displayed if..., followed by a summary of your conditions. A condition only decides when a field is shown. There's no separate rule to hide a field.
Which fields a condition can use
A condition can use other fields people answer in the form, such as text, number, date, dropdown, choice and rating fields, wherever they sit in the form. Some entries aren't listed at all:
Text and other static content.
File uploads and signatures.
Repeating lists and tables, and the fields inside them.
A field that would create a circular dependency is listed but shows as disabled, with the reason in a tooltip when you hover over it.
If the form has no other fields to answer, Configure is unavailable. Fields inside a repeating list or table don't get a Conditional Display section.
Test your conditions
At the top of the form canvas, switch from Editor to Preview. If you have unsaved edits, switching saves the form.
Enter answers in the preview. Fields with conditions appear only when their conditions are met.
Switch back to Editor to make changes.