up Inquisit Language Reference

radiobuttons element

The radioButtons element defines a survey item in which respondents select from a list of mutually exclusive options.

Attributes

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

</radioButtons>

Properties

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

Functions

None.

Remarks

Examples

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

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

Copyright Millisecond Software, LLC. All rights reserved.