Skip to main content

Select Dropdown

Select Dropdown fields allow publishers to choose a single item from a dropdown list.

note

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

{{ entry.select_field }}

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

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

Parameters

{{ entry.select_field.parameters({markup: 'ul'}) }}
info

See the ExpressionEngine Documentation for more information on the Select Dropdown fieldtype