Dropdown
- 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.
- Example scenarios: 'What is your title?' or 'What is your marital status?'.
tip
If you make a Dropdown question required, you must include an empty option to ensure valid HTML markup.
The W3C Specification for HTML5 states:
If a select element has a required attribute specified, does not have a multiple attribute specified, and has a display size of 1; and if the value of the first option element in the select element’s list of options (if any) is the empty string, and that option element’s parent node is the select element (and not an optgroup element), then that option is the select element’s placeholder label option.
Settings
Name | Description |
---|---|
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 |
Set input purpose | Set an input purpose to assist browsers in autofilling the question. See Setting the input purpose of a question for more information on this setting |
Show internally | If enabled, this question will be shown on internal forms |
Show publicly | If enabled, this question will be shown on online forms |