Skip to content

Dropdown Question Schema Properties

A question that presents choices in a dropdown menu for single selection.

Element type: dropdown Key properties: 20

  • Aliases: select, select list, single-select dropdown.
  • Use when: respondents choose one option from a compact list.
  • Recommended properties: type, name, title, choices, choicesByUrl, placeholder, isRequired.
{ "type": "dropdown", "name": "department", "title": "Department", "choices": ["Sales", "Support", "Operations"] }

  • Type: choiceitem[]
  • Default: []

Gets or sets choice items. This property accepts an array of objects with the following structure:

  • Type: restfull
  • Default:

Configures access to a RESTful service that returns choice items. Refer to the ChoicesRestful class description for more information. You can also specify additional application-wide settings using the settings.web object.

  • Type: question_carryforward
  • Default:

Copies choice items from a specified question. Accepts a question name.

  • Type: string
  • Default: "all"
  • Allowed values: all, selected, unselected

Specifies which choice items to copy from another question. Applies only when the choicesFromQuestion property is specified.

  • Type: condition
  • Default:

A Boolean expression that is evaluated against each choice item. If the expression evaluates to false, the choice item becomes hidden.

  • Type: condition
  • Default:

A Boolean expression that is evaluated against each choice item. If the expression evaluates to false, the choice item becomes read-only.

  • Type: string
  • Default: "none"
  • Allowed values: none, asc, desc, random

Specifies the sort order of choice items.

  • Type: boolean
  • Default: true

Specifies whether to display a button that clears the selected value.

  • Type: boolean
  • Default: false

Specifies whether users can add their own choices if the desired option isn’t available in the dropdown.

  • Type: string
  • Default:
  • Localizable: Yes

A placeholder for the input field.

  • Type: string
  • Default: "contains"
  • Allowed values: contains, startsWith

Specifies a comparison operation used to filter the drop-down list. Applies only if searchEnabled is true.

  • Type: boolean
  • Default:

Specifies whether to hide the question if no choice items are visible.

  • Type: boolean
  • Default:

Specifies whether to display the “Other” choice item.

  • Type: boolean
  • Default:

Specifies whether to display the “None” choice item.

  • Type: switch
  • Default:

Specifies whether to display a comment area.

  • Type: string
  • Default:
  • Localizable: Yes

Gets or sets a caption for the “Other” choice item.

  • Type: string
  • Default:
  • Localizable: Yes

A placeholder for the comment area. Applies when the showOtherItem or showCommentArea property is true.

  • Type: string
  • Default:
  • Localizable: Yes

Gets or sets a caption for the “None” choice item.

  • Type: string
  • Default:
  • Localizable: Yes

Gets or sets a caption for the “Don’t know” choice item.

  • Type: string
  • Default:
  • Localizable: Yes

Gets or sets a caption for the “Refuse to answer” choice item.

This page lists only properties that are specific to this element type or especially important for generation.

  • Use Shared Question Properties for common fields such as name, title, description, isRequired, requiredIf, visibleIf, enableIf, readOnly, defaultValue, validators, width, and layout options.
  • Use Shared Choice Question Properties for shared choice fields such as choices, choicesByUrl, choicesFromQuestion, showOtherItem, showNoneItem, and special choice labels.
  • Use Choice Item for object choices and Choices By URL for remote choice loading.