Setting Up Conditional Logic in Divi Form Builder (Divi 5)
Conditional logic shows or hides fields based on values in other fields (e.g. show a text field only when "Option A" is selected in a dropdown). In Divi 5, you configure this in the Conditional Logic section of each field’s options.
Where to find it (Divi 5)
- Open the page in the Divi 5 Visual Builder.
- Select the Form module and open the Content tab.
- Select the field that should appear or disappear based on another field.
- Open the Conditional Logic section and enable it, then define rules (e.g. "Field One equals A").
Example
- Field One (dropdown): Options A, B, C.
- Field Two (text): Enable conditional logic so it shows only when Field One is "Option A".
Dependencies and sequencing
- Configure the controlling field first (for example dropdown, radio, or checkbox).
- Confirm the controlling field has the exact values you plan to target in your rule.
- Apply conditional logic to dependent fields only after the controlling field is fully configured.
Verify it works
- Save the form and open it on the front end.
- Change the controlling field across all expected values.
- Confirm dependent fields show/hide correctly and can still be submitted.
Common pitfalls
- Rules fail when option labels/values are changed after logic is set.
- Complex forms become hard to debug if many fields depend on each other; test one rule at a time.
- Hidden required fields can block submission if logic is misconfigured.
What's Next
- Use Autocomplete fields to improve form completion speed.
- Return to Field settings for related per-field options.
- Configure Form settings for post-submit behavior.