FormField
A field within a form.
Optional help text displayed below the field.
Unique identifier for the field.
Machine-readable key for the field. Must start with a lowercase letter and contain only lowercase letters, numbers, and underscores.
Possible values: Value must match regular expression ^[a-z][a-z0-9_]*$
Display label for the field.
For boolean fields, whether the value must be true (e.g., consent checkboxes).
options objectnullable
Options configuration for choice-type fields.
- FieldOptions
- string
Whether to allow a free-text 'other' option.
choices object[]required
List of available choices.
Unique identifier for the choice.
Display label for the choice.
Display position of the field within the form.
Whether the field is required.
Whether the field contains sensitive data.
The field type.
Possible values: [short_text, long_text, email, phone, boolean, radio, select, checkbox]
{
"description": null,
"id": "ff_abc123",
"key": "full_name",
"label": "Full Name",
"must_be_true": false,
"options": null,
"position": 0,
"required": true,
"sensitive": false,
"type": "short_text"
}