Create and Manage Conditional Logic
Supported on the Advanced and Enterprise tiers:
Contents
About
Conditional logic Conditional logic is a tool in the Form Builder that establishes the workflow of a form. By using the "If This, Then That" structure, questions or sections will be displayed, hidden, or automatically populated based on answers to preceding questions. uses "If This, Then That" statements to add intelligent automation into forms, guiding users of a form through a workflow depending on their context. Read more general information about conditional logic.
View a Form's Existing Conditional Logic Rules
Conditional Logic rules define how the mobile form behaves (what parts of the form are hidden, shown, required, etc) based on the information provided by mobile users.
When Viewing a Form in the Web Portal
When you have a form with a lot of conditional logic rules and want an overview, this is the easiest way to see all of your conditional logic rules in a condensed form.
-
Locate the desired form in the web portal.
-
Navigate to the Pages & Questions tab for that form.
-
Scroll down to the bottom of the page, after the table displaying the pages and questions.
-
View all of the conditional logic rules at the bottom, under the Conditional Logic header. Each Logic Element header shows a single rule, with its name, description, and behavior.
When Editing a Form in the Form Builder
- Edit the form to open it in the Form Builder.
- Navigate to the Conditional Logic tab.
- Each of the conditional logic rules is listed in the left navigation.
- Select a rule on the left to view the details on the right.
Create a Conditional Logic Rule
Conditional Logic rules define how the mobile form behaves (what parts of the form are hidden, shown, required, etc) based on the information provided by mobile users.
- Edit the form to open it in the Form Builder.
- Navigate to the Conditional Logic tab.
- Select the Add a Rule button in the left navigation.
- Configure your rule.
Delete a Conditional Logic Rule
If you would like to permanently remove a behavior from your form, delete the desired conditional logic rule. Keep in mind that this will affect how the mobile form looks, as well as what information it requires from your field users. It is a good idea to test the form thoroughly after removing a rule.
-
Edit the form to open it in the Form Builder.
-
Navigate to the Conditional Logic tab.
-
Select the desired rule from the left navigation.
-
On the right, scroll down to the bottom of the rule.
-
Select the Delete Rule button, and select it again to confirm.
-
The rule will be removed.
Copy a Conditional Logic Rule
If you are building a form with multiple pages containing the same questions and requirements, you may need to copy conditional logic rules. To copy a conditional logic rule:
-
Edit the form to open it in the Form Builder.
-
Navigate to the Conditional Logic tab.
-
Select the desired rule from the left navigation.
-
Select the Rule Menu icon
next to the rule name.
-
Select Copy Rule:
-
The new copy of the rule will appear in the left navigation with a number added to the end of the name:
Note: If you copy a page or section with self-contained conditional logic rules (i.e., all conditions and effects are contained within the page or section being copied) then the conditional logic will also be copied.
Deactivate a Conditional Logic Rule
You may want to deactivate conditional logic rules for testing purposes yet retain the rule configuration in the form. By default, a rule is active.
To deactivate a conditional logic rule:
-
Edit the form to open it in the Form Builder
The Form Builder is the tool that form designers use to create forms. In the Form Builder, accessed from the ProntoForms Web Portal, form designers can add and edit pages, sections, and questions, as well as attach data destinations and configure the form's settings..
-
Navigate to the Conditional Logic tab.
-
Select the rule from the left navigation.
-
Toggle Rule Active to the off position (left).
Info:The icon next to the rule name in the left navigation indicates an inactive rule. The topic Viewing Form Details describes the Pages & Questions tab, which also indicates inactive rules.