Repository navigation
Conditional logic
github-actions[bot] edited this page Nov 24, 2026
·
1 revision
Written against v0.5.3.
The Conditional Logic field appears on each notification and each additional confirmation. It decides whether that notification is sent or that confirmation is chosen, from what the visitor submitted.
- No conditions always passes. Leave the field empty to always send or always choose.
-
All or any. A condition group written with
ifpasses when every condition passes. The_anyforms (if_any) pass when at least one does. Theunlessandhide_whenforms invert the result. -
Keys the evaluator reads:
if,if_any,show_when,show_when_any,unless,unless_any,hide_whenandhide_when_any. Only the first recognized key in a field is evaluated, andalways_saveis ignored. -
Operators:
equals,not,contains,contains_any,includes_any,===,!==,>,>=,<,<=andcustom. An unknown operator is evaluated asequals.includes_anytests membership in a list, wherecontains_anytests for a substring (Statamic 6.35 and later).
A condition names a field handle, an operator and a value.
- Send notifications: the Conditional Logic column, and the rows of Conditional Routing.
- Choose what visitors see after submitting: each additional confirmation.
Home | Getting started | Guides | Troubleshooting | Reference | README | Repository
Written against v0.5.3. Edit these pages in docs/wiki/ through a pull request; edits made in the wiki are overwritten by the next publish.
Getting started
Guides
- Send notifications
- Choose what visitors see after submitting
- Close a form on a date
- Score a quiz
- Score a survey
- Save submission data
- Turn a feature off
Troubleshooting
Reference
- Configuration
- Form settings screen
- Restriction states
- Conditional logic
- Merge tags
- Quiz and survey tags
- Fieldtypes
- Extending the add-on
- README
Project