Skip to content

radio

Custom field type

All field types

One choice from a visible list of options.

Written as
"Type": "radio"
Valid on
Forms, and template fields, Datastore schema, and custom site settings
Stores
{{ radio }} — the Liquid object a template reads from this field.
On a form
{{ radio_field }} — the control object rendered on a Form. Not the same object as Stores.
Validators
This type carries no validators.
Default value
One option value.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Options The options, written as one delimited string rather than an array.
Delimiter Separates one option from the next.
ValueDelimiter Separates an option's stored value from its label. Without one, the whole entry is both.