This field is used to select a single option from displayed options.

"type": "radio",
"id": "purpose",
"label": "Purpose",
"showInTable": true,
"isRequired": true,
"options": ["General", "Salesperson", "Friend/Relative", "Other"]

In the above example, the user is shown 4 options from where they can choose one. This field can be easily referred in another field using visibleIf condition.

Field Attributes

idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
optionsarrayStores the options presented to the user to select