up Inquisit Language Reference

checkboxes element

The checkboxes element defines a survey item that allows respondents to check off one or more options.

Attributes

<checkboxes name>
/ range = (min, max)
/ range = (minexpression, maxexpression)

/ 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, ...)

</checkboxes>

Properties

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

Functions

None.

Remarks

Checkboxes are useful for questions in which the respondent may choose more than one option.

Examples

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

<checkboxes q1>
/ caption="Pick one or more of the following numbers:"
/ required = true
/ options=("one", "eight", "seventy-two")
</checkboxes>

Copyright Millisecond Software, LLC. All rights reserved.