FR

Select

Provides several options from a defined drop-down list. For quick reference, see technical parameters.

Best practices

  • Use in forms only.
  • Write clear and concise questions.
  • To select more than one option, use a Checkbox instead.

Example

Parameters

groups
Use to group related options together. Assign a group to each option in sequence, e.g. Group A|Group B. Use a separator to separate each entry. For options that do not belong to a group, insert *. Options that belong to a group will be organized under the respective group heading in the dropdown.
hint
Set the unselected text of the first option.
html_id
HTML id of the element. Add only if needed to customize styling or needed by Javascript to perform a specific functionality.
label
Label of the field. The content enclosed within the shortcode tags populates this field.
multiple
Set to "true" to allow the user to select multiple entries.
name
HTML name of the field
options
Defines the options. Use commas to separate. An option enclosed in curly brackets indicates a disabled option.
required
Set to “true” to make the field mandatory.
selected_option
Sets which option should be selected as the default, e.g. selected_option=’2’.
selectize
Set to "true" to allow the user to type in the field and filter options.
separator
When commas are part of the content, use a special character to separate the options.
values
Defines the value attribute for each option. Use a separator to assign a corresponding value to each option in sequence. For options whose value attribute is the option label itself, insert *.