up Inquisit Language Reference

dropdown element

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

Attributes

<dropdown name>
/ listSize = (width, height)
/ listSize = (widthexpression, heightexpression)

/ other = caption
/ other = textbox

/ options = (label, label, label, ...)
/ optionValues = (value, value, value, ...)
/ order = order
/ caption = text
/ correctResponse = (character, character,...)
/ correctResponse = (scancode, scancode, ...)
/ correctResponse = (anyResponse, noResponse, ...)
/ correctResponse = (stimulusname, stimulusname, ...)
/ correctResponse = (mouseevent, mouseevent, ...)
/ correctResponse = (gamepadstickevent, gamepadevent, ...)
/ correctResponse = (joystickevent, joystickevent, ...)
/ correctResponse = (word, word, ...)
/ correctResponse = (response)
/ correctResponse = (expression, expression, ...)

/ defaultResponse = text
/ defaultResponse = integer
/ defaultResponse = expression

/ fontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ monkeyResponse = (character, character,...)
/ monkeyResponse = (scancode, scancode, ...)
/ monkeyResponse = (anyResponse, noResponse, ...)
/ monkeyResponse = (stimulusname, stimulusname, ...)
/ monkeyResponse = (mouseevent, mouseevent, ...)
/ monkeyResponse = (gamepadevent, gamepadevent, ...)
/ monkeyResponse = (joystickevent, joystickevent, ...)
/ monkeyResponse = (word, word, ...)
/ monkeyResponse = (keyword)
/ monkeyResponse = (expression, expression, ...)

/ orientation = layout
/ position = (x, y)
/ position = (xexpression, yexpression)

/ required = boolean
/ required = expression

/ responseFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ size = (width, height)
/ size = (widthexpression, heightexpression)

/ subcaption = string
/ subcaptionFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ txColor = colorname
/ txColor = expression

/ validResponse = (character, character,...)
/ validResponse = (scancode, scancode, ...)
/ validResponse = (anyResponse, noResponse, ...)
/ validResponse = (stimulusname, stimulusname, ...)
/ validResponse = (mouseevent, mouseevent, ...)
/ validResponse = (gamepadevent, gamepadevent, ...)
/ validResponse = (joystickevent, joystickevent, ...)
/ validResponse = (word, word, ...)
/ validResponse = (keyword)
/ validResponse = (expression, expression, ...)

</dropdown>

Properties

dropdown.name.listHeight
dropdown.name.listWidth
dropdown.name.option
dropdown.name.optionValue
dropdown.name.selected
dropdown.name.selectedCaption
dropdown.name.selectedCount
dropdown.name.selectedValue
dropdown.name.caption
dropdown.name.fontHeight
dropdown.name.height
dropdown.name.heightPct
dropdown.name.heightPx
dropdown.name.hPosition
dropdown.name.required
dropdown.name.response
dropdown.name.responseFontHeight
dropdown.name.responseText
dropdown.name.subcaption
dropdown.name.subcaptionFontHeight
dropdown.name.vPosition
dropdown.name.width
dropdown.name.widthPct
dropdown.name.widthPx
dropdown.name.x
dropdown.name.xPct
dropdown.name.xPx
dropdown.name.y
dropdown.name.yPct
dropdown.name.yPx
dropdown.name.name
dropdown.name.typeName

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>

Copyright Millisecond Software, LLC. All rights reserved.