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

radioButtons.name.option
radioButtons.name.optionValue
radioButtons.name.setOption
radioButtons.name.setOptionValue

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.