Conditional Logic
Fields can be conditionally shown or hidden based on values of other fields.
Rule Structure
json{
"action": "show",
"match": "all",
"rules": [
{ "field": "field_abc123", "operator": "is", "value": "Yes" },
{ "field": "field_xyz789", "operator": "is_not", "value": "" }
]
}
Action
| Value | Effect |
show | Field is hidden by default; shown when conditions match |
hide | Field is visible by default; hidden when conditions match |
Match
| Value | Logic |
all | All rules must match (AND) |
any | At least one rule must match (OR) |
Operators
| Operator | Description |
is | Field value equals |
is_not | Field value does not equal |
contains | Field value contains string |
not_contains | Field value does not contain string |
greater_than | Numeric: field value > comparison |
less_than | Numeric: field value < comparison |
is_empty | Field has no value |
is_not_empty | Field has any value |
Conditional logic is evaluated client-side in real-time and re-evaluated server-side on submission before saving the entry.