Skip to main content

FieldOptions

Options for choice-type fields (select, radio, checkbox).

allow_otherbooleanrequired

Whether to allow a free-text 'other' option.

choices object[]required

List of available choices.

  • Array [
  • idstringrequired

    Unique identifier for the choice.

    labelstringrequired

    Display label for the choice.

  • ]
  • FieldOptions
    {
    "allow_other": false,
    "choices": [
    {
    "id": "opt_abc123",
    "label": "Option A"
    }
    ]
    }