Frontend Profile - Listing out Radio Buttons In the official documentation it explains how to let users customize user fields in the frontend, such as:

&lt;label for="bio"&gt;Bio&lt;/label&gt;
&lt;textarea id="bio" name="fields[bio]"&gt;{{ currentUser.bio }}&lt;/textarea&gt;


However I set some user profile fields that are Radio Buttons and can't find anywhere on how to output the field options in a form. I want to do something like:

&lt;select id="radioButtons" name="fields[radioButtons]"&gt;
  {% for option in fields.profile.myRadioButtons %}
    &lt;option value="option"&gt;{{ option | title }}&lt;/option&gt;
  {% endfor %}
&lt;/select&gt;


But obviously 'fields' isn't a twig variable. Is there a way to do something similar to the above?
You can access the field using currentUser.fieldHandle; and the 'labels' and 'values' of the field by looping through the options attribute. You can also set the selected state by checking each option for the option.selected property.

&lt;select id="radioButtons" name="fields[myRadioButton]"&gt;
    {% for option in currentUser.myRadioButton.options %}
        &lt;option value="{{ option.value }}" {% if option.selected %}checked{% endif %}&gt;{{ option.label }}&lt;/option&gt;
    {% endfor %}
&lt;/select&gt;