Skip to main content

Radio Buttons

Radio Buttons allow users to choose a single item from a list of options.

note

The following examples use a field named radio_field. This should be replaced with your field name.

{{ entry.radio_field }}

{% for value, label in entry.radio_field.options %}
{{ label }} - {{ value }}
{% endfor %}

{% for value, label in entry.radio_field.selected %}
{{ label }} - {{ value }}
{% endfor %}
info

See the ExpressionEngine Documentation for more information on the Radio Buttons fieldtype