How to use Twig to pull drop down menu items for a front end form I have this code that will pull the values of a checkbox or radio from the fields in Craft CMS, do be used and selected by a user on a front end form.

&lt;ul&gt;
    {% for checkboxOption in currentUser.fieldHandle.options %}
        {% set checked = false %}

        {% if checkboxOption.selected %}
            {% set checked = true %}
        {% endif %}

        &lt;li&gt;
            &lt;input type="radio" value="{{ checkboxOption.value }}" name="fields[fieldHandle]" {% if checked %} checked="checked" {% endif %}&gt;&lt;span&gt;{{ checkboxOption.label }}&lt;/span&gt;
        &lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;


How do I do the same for a dropdown list?
You'd do something very similar:

&lt;select name="fields[fieldHandle]"&gt;

    {% for dropdownOption in currentUser.fieldHandle.options %}
        &lt;option value="{{ dropdownOption.value }}"{% if option.selected %} selected{% endif %}&gt;{{ dropdownOption.label }}&lt;/option&gt;
    {% endfor %}

&lt;/select&gt;