What is it?
A dropdown box containing different options.
When should I use it?
When you need the customer to choose a single option from a list.
'What is your title?' or 'What is your marital status?'.
|Question text||The label shown next to the field|
|Answers||Specify one or more options to display in the question|
|Include empty option||If enabled, allows you to configure the text for an option which denotes no selection e.g. Please choose...|
|Required||Does the question have to be answered?|
|Default answer||The value to initially select|
|Help text||Text displayed under the field to guide the customer as to what they should choose|
|Show internally||If enabled, this question will be shown on internal forms|
|Show publicly||If enabled, this question will be shown on online forms|
Ensuring valid HTML markup
The W3C Specification for HTML5 states
selectelement has a
requiredattribute specified, does not have a
multipleattribute specified, and has a display size of 1; and if the value of the first
optionelement in the
selectelement’s list of options (if any) is the empty string, and that
optionelement’s parent node is the
selectelement (and not an
optgroupelement), then that
selectelement’s placeholder label option.
Essentially this means that if you make a Dropdown question required, you MUST include an empty option.