Add display logic and skip logic to a form
You can decide which sections of a custom form should be displayed or skipped based on the choices that a user makes when filling it out.
Access requirements
You must have the following to perform the steps in this article:
table 0-row-2 1-row-2 2-row-2 layout-auto html-authored no-header | |
---|---|
Adobe Workfront plan | Any |
Adobe Workfront license |
New: Standard or Current: Plan |
Access level configurations | Administrative access to custom forms |
For more detail about the information in this table, see Access requirements in Workfront documentation.
Display and skip logic icons
Custom forms display icons to indicate which logic is applied to certain fields. Icons on a field in the form designer indicate that logic is applied to the field.
Select a field with logic applied to display the existing logic rules in the field settings.
Considerations for using display logic and skip logic
-
To add display logic on a custom field, widget, or section break, at least one multiple choice field (radio buttons, dropdown, or check boxes) must be positioned prior to it on the form.
For information about custom fields and widgets in custom forms, see Design a form with the form designer. -
You cannot add skip logic to a widget or section break. You can add it only to a multiple choice field (radio buttons, dropdown, or check boxes).
-
You can add both display logic and skip logic to a custom field if all of the following is true about the custom field:
- It is a multiple choice field (radio buttons, dropdown, or check boxes)
- It is preceded by a multiple choice field
- It is followed by another custom field
-
When copying forms with display logic or skip logic, the logic is copied to the new custom form.
-
When editing objects in bulk, all custom fields display in the Edit objects box, including the fields that are skipped or hidden.
-
Keep the following in mind when you create a display logic rule for a custom form:
- Custom fields not included in a display logic statement show on a custom form, by default.
- You can create multi-field display logic statements.
- If all of the fields under a section break have display logic applied to them and they are all hidden as a result of the logic, the entire section will be hidden on the custom form.
Add display logic to a custom form
Display logic defines which custom fields appear on the form when the user selects a specific value in a multiple choice field. The logic is added to the target field, which is only displayed when the value is selected.
-
Click the Main Menu icon in the upper-right corner of Adobe Workfront, or (if available), click the Main Menu icon in the upper-left corner, then click Setup .
-
Click Custom Forms.
-
Create a new custom form or open an existing form. See Design a form with the form designer for details.
-
Add fields to the form as needed. At least one multiple choice field (radio button, dropdown, or check box) must be positioned prior to the target field that will display.
-
Select the target field and click Add Logic on the lower left of the screen.
-
Select the Display Logic tab.
-
Click Add Display Rule on the logic builder.
-
Follow the steps below in the builder to create the logic statement.
-
The first option is to choose the defining field. This is the field with the selection value that displays the target. It must be a multiple choice field.
-
The second option is to choose the selection value. Only the values already defined for that field are available.
-
The third option is Selected or Not Selected. Choosing Selected means that when the value is selected, the target field is displayed. Choosing Not Selected means that when any other value is selected in the defining field, the target field is displayed.
-
To add an And rule to the logic statement, click Add Rule directly underneath the rule you just created. Follow the same prompts to build the rule. All of the And rules must be met for the target field to be displayed.
-
To add an Or rule to the logic statement, click Add Rule near the bottom of the logic builder. Then, click Add Rule inside the Or area and follow the same prompts to build the rule. When one Or rule is met, the target field is displayed.
-
-
Click Save when you are finished building the logic statement.
The display logic icons are added to the target field and the defining field in the form designer.
Add skip logic to a custom form
Skip logic defines custom form fields that are skipped when the user selects a specific value in a multiple choice field. Skipped fields are hidden on the form. The logic is applied to the defining field where the selection is made, not to the fields that are skipped.
-
Click the Main Menu icon in the upper-right corner of Adobe Workfront, or (if available), click the Main Menu icon in the upper-left corner, then click Setup .
-
Click Custom Forms.
-
Create a new custom form or open an existing form. See Design a form with the form designer for details.
-
Add fields to the form as needed. The defining field for skip logic must be a multiple choice field (radio button, dropdown, or check box).
-
Select the defining field and click Add Logic on the lower left of the screen.
-
Select the Skip Logic tab.
-
Click Add Skip Rule on the logic builder.
-
Follow the steps below in the builder to create the logic statement.
-
The defining field is shown on the builder. It is the field you selected to apply the skip logic to.
-
The first option is to choose the selection value. Only the values already defined for the field are available.
-
The second option is Selected or Not Selected. Choosing Selected means that when the value is selected, the target field is displayed and the fields in between are skipped. Choosing Not Selected means that when any other value is selected in the defining field, the target field is displayed and the fields in between are skipped.
-
The third option is the target field, or where to skip to. Select a field name or End of form. You might need to click the word “empty” first before selecting an option.
-
To add an Or rule to the logic statement, click Add Rule near the bottom of the logic builder. Then, select the options following the same prompts to build the rule. When one Or rule is met, the target field is displayed.
-
-
Click Save when you are finished building the logic statement.
The skip logic icons are added to the target field and the defining field in the form designer.