Skip to main content

Multi Select

Multi Select Fields allow publishers to choose multiple items from a list.

note

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

Single Variable

You can use a single variable for Multi Select to render a comma-separated list of the labels.

{{ entry.multi_select_field }}

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

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

Parameters

{{ entry.multi_select_field.parameters({limit: 1, markup: 'ul'}) }}
info

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