Skip to main content

radio

Single-select radio field.

Properties

  • options: Array of FieldOption

Answer Format

{ "selected": { "id": "optionId", "value": "Option Label" } }

Example

{
"id": "gender",
"fieldType": "radio",
"question": "Gender",
"options": [
{ "id": "m", "value": "Male" },
{ "id": "f", "value": "Female" },
{ "id": "o", "value": "Other" }
]
}