A single condition that controls whether a field or group is visible / enabled, based on the live value of another field.
Conditions are JSON-serializable so a form schema can be stored as pure JSON and restored later.
{ "field": "country", "operator": "equals", "value": "NL" } Copy
{ "field": "country", "operator": "equals", "value": "NL" }
Readonly
ID of the field whose value is evaluated.
Comparison operator.
Optional
Target value to compare against. Omitted for unary operators like "empty" and "notEmpty".
"empty"
"notEmpty"
A single condition that controls whether a field or group is visible / enabled, based on the live value of another field.
Conditions are JSON-serializable so a form schema can be stored as pure JSON and restored later.
Example