up Inquisit Language Reference

checkboxes element

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

Syntax

<checkboxes checkboxesname>
/ 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)
/ monkeyresponse = ("string", "string",...) or (scancode, scancode, ...) or (property, property, ...) or [expression; expression; expression;...]
/ options = ("label", "label", "label", ...)
/ optionvalues = ("value", "value", "value", ...)
/ order = order mode
/ orientation = layoutoption
/ other = "caption" or textbox
/ position = (x value, y value)
/ range = (minimum, maximum)
/ 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, ...)
</checkboxes>

Properties

checkboxes.checkboxesname.caption
checkboxes.checkboxesname.fontheight
checkboxes.checkboxesname.height
checkboxes.checkboxesname.hposition
checkboxes.checkboxesname.maxvalue
checkboxes.checkboxesname.minvalue
checkboxes.checkboxesname.name
checkboxes.checkboxesname.required
checkboxes.checkboxesname.response
checkboxes.checkboxesname.responsefontheight
checkboxes.checkboxesname.selected
checkboxes.checkboxesname.selectedcaption
checkboxes.checkboxesname.selectedcount
checkboxes.checkboxesname.selectedcount
checkboxes.checkboxesname.selectedvalue
checkboxes.checkboxesname.subcaption
checkboxes.checkboxesname.subcaptionfontheight
checkboxes.checkboxesname.typename
checkboxes.checkboxesname.vposition
checkboxes.checkboxesname.width
checkboxes.checkboxesname.width

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>

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