Table of Contents
Conditional logic in IvyForms allows you to create dynamic forms that respond to user input. Instead of displaying every field at once, you can configure the form to show or hide specific fields depending on the answers users provide while filling out the form.
This helps keep forms shorter, easier to complete, and more relevant for each visitor. Users only see the fields that apply to them, which improves the overall experience and helps reduce form abandonment.
In IvyForms, conditional logic is configured directly inside the field settings using the Smart Logic tab.
Conditional logic allows a form field to appear only when a specific condition is met. When the condition is not satisfied, the field remains hidden.
For example, you may ask visitors how they would like to be contacted. If they select Email, the form displays an email field. If they select Phone, the form displays a phone number field instead.
The form evaluates these rules live while the user is filling out the form, so fields instantly appear or disappear depending on the selected answers.
This approach helps keep the form simple and prevents users from seeing questions that do not apply to them.

Conditional logic is configured individually for each field.
To set it up:
Once enabled, the field will remain hidden until the defined condition is satisfied.
Each conditional rule is made of three parts:
For example:
In this case, the field will appear only when the user selects the option whose value is phone.
Conditional logic compares the stored field value, not the visible label shown to users. For example, a radio field may contain these options:
Even though the user sees Email and Phone in the form, the conditional rule must reference the stored values:
As long as the rule uses the correct value, the logic will work regardless of what the visible label says.

When multiple rules are added, you can control how the form evaluates them using Conditional Match.
This allows you to create simple or complex conditions depending on how your form should behave.

A common example is showing different contact fields depending on the preferred communication method.
For example:
The form instantly updates while the user interacts with it, showing only the field that matches their choice.
