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

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.
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’.
separator
When commas are part of the content, use a special character to separate the options.