Conditional logic
Conditional logic lets you show or hide fields, sections, and entire pages based on what a user has already entered in the form. Your form adapts in real time — irrelevant fields disappear, relevant ones appear. No code needed.
How to add a condition
Section titled “How to add a condition”- Click the field, section break, or page break you want to show/hide conditionally
- In the field editor panel, open the Logic tab
- Click Add condition
- Choose:
- Source field — which field drives the condition
- Operator — how to compare the value
- Value — what to compare against
- Set the action: Show or Hide this field when the condition is met
- Click Save
The condition takes effect immediately in the live preview.
Available operators
Section titled “Available operators”| Operator | Works on |
|---|---|
is | Text, email, select, radio, checkbox |
is not | Text, email, select, radio, checkbox |
contains | Text, textarea, email |
does not contain | Text, textarea, email |
starts with | Text, textarea, email |
ends with | Text, textarea, email |
is empty | Any field |
is not empty | Any field |
greater than | Number, date |
less than | Number, date |
greater than or equal to | Number, date |
less than or equal to | Number, date |
Multiple conditions (AND / OR)
Section titled “Multiple conditions (AND / OR)”A single field can have multiple conditions. Choose how they combine:
- AND — all conditions must be true for the action to trigger
- OR — any one condition is enough
To add a second condition, click + Add condition again. The AND/OR toggle appears automatically when you have two or more conditions.
Example: business vs personal enquiry
Section titled “Example: business vs personal enquiry”Scenario: you want to show a Company name field only when the user selects “Yes” to “Are you enquiring on behalf of a business?”
- Add a Radio buttons field with the label “Are you enquiring on behalf of a business?” and options: Yes / No. Set Field ID:
is_business. - Add a Text field with label “Company name”. Set Field ID:
company_name. - On the Company name field, open Logic tab → Add condition:
- Source field:
is_business - Operator:
is - Value:
Yes - Action: Show
- Source field:
- Set the default state to Hidden (the field hides until the condition is met).
Conditional page skipping (multi-page forms)
Section titled “Conditional page skipping (multi-page forms)”You can skip entire pages based on earlier answers. This is configured on the Page Break field, not on individual fields.
Example: skip the payment page if the user selects “I’ll pay later”:
- Add a Radio field
payment_timingwith options: “Pay now” / “Pay later” - Click the Page Break before the payment page → Logic tab → Add condition:
- Source:
payment_timing - Operator:
is - Value:
Pay later - Action: Skip this page
- Source:
The user will jump from the current page to the page after the payment page, never seeing it.
Conditional required
Section titled “Conditional required”You can make a field required only when it’s visible. This is the default behaviour — a hidden field is never validated.
If you need the opposite (field is always required but shown conditionally), uncheck Only required when visible in the field’s Validation tab.
Conditional submission destination
Section titled “Conditional submission destination”Route users to different thank-you pages based on their answers:
- Go to Form Settings → Confirmation
- Set Confirmation type to Redirect
- Click Add conditional redirect
- Configure conditions and enter a URL for each branch
- Add a default (fallback) URL
Example: send qualified leads to a calendar booking page, everyone else to a generic thank-you page.
Tips and limitations
Section titled “Tips and limitations”- Conditions are evaluated client-side in real time as the user types. There is no delay.
- Conditional logic applies to sections (section break fields) and pages (page break fields) as well as individual fields.
- If you delete a field that other fields reference in their conditions, AmazingForms will warn you and let you reassign or remove the broken conditions.