Types

FormFieldConditionWrite

A display condition in a form body. Name the controlling field with `against_field_id` or `against_field_reference`.

against_field_id
string | null (uuid)
The controlling field's id. It must be a field of this form already.
against_field_reference
string | null
The controlling field's reference. It may name a field sent in the same body.
operator
string
How the controlling answer is compared: `=` equals, `!=` differs, `>`, `<`, `>=` and `<=` order it, `??` means it has any value, `one_of` and `not_one_of` test it against a list.One of: =, !=, >, <, >=, <=, ??, one_of, not_one_of
value
string | string[]
What the answer is compared with. Required unless the operator is `??`. A list of strings for one_of and not_one_of, a string otherwise.

Used by (2)