up Inquisit Language Reference

dropdown element

The dropdown element defines a survey item in which respondents select an option from a dropdown list.

Syntax

<dropdown dropdownname>
/ caption = "text"
/ correctresponse = ("character", "character",...) or (scancode, scancode, ...) or (stimulusname, stimulusname, ...) or (mouseevent, mouseevent, ...) or (joystickevent, joystickevent, ...) or ("word", "word", ...) or (keyword) or (property, property, ...)
/ defaultresponse = "text" or property or expression
/ fontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ listsize = (width variable, height variable)
/ options = ("label", "label", "label", ...)
/ optionvalues = ("value", "value", "value", ...)
/ order = order mode
/ orientation = layout
/ position = (x value, y value)
/ required = boolean
/ responsefontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ size = (width variable, height variable)
/ subcaption = "text"
/ subcaptionfontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ txcolor = (red value, green value, blue value) or color name or color value
/ txcolor = (red value, green value, blue value) or color name or color value
/ validresponse = ("character", "character",...) or (scancode, scancode, ...) or (stimulusname, stimulusname, ...) or (mouseevent, mouseevent, ...) or (joystickevent, joystickevent, ...) or ("word", "word", ...) or (keyword) or (property, property, ...)
</dropdown>

Properties

dropdown.dropdownname.caption
dropdown.dropdownname.fontheight
dropdown.dropdownname.height
dropdown.dropdownname.hposition
dropdown.dropdownname.listheight
dropdown.dropdownname.listwidth
dropdown.dropdownname.name
dropdown.dropdownname.option
dropdown.dropdownname.optionvalue
dropdown.dropdownname.required
dropdown.dropdownname.response
dropdown.dropdownname.responsefontheight
dropdown.dropdownname.selected
dropdown.dropdownname.selectedcaption
dropdown.dropdownname.selectedcount
dropdown.dropdownname.selectedvalue
dropdown.dropdownname.subcaption
dropdown.dropdownname.subcaptionfontheight
dropdown.dropdownname.typename
dropdown.dropdownname.vposition
dropdown.dropdownname.width
dropdown.dropdownname.width

Functions

None.

Remarks

Dropdowns provide a space efficient user interface for selecting from mutually exclusive options.

Examples

The following dropdown item requires the respondent to select at least one option.

<dropdown q1>
/ caption="Who was the first president of the United States:"
/ options=("George Washington", "Abraham Lincoln", "Thomas Jefferson")
/ required=true
</dropdown>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.