up Inquisit Language Reference

radiobuttons element

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

Syntax

<radiobuttons radiobuttonsname>
/ 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)
/ options = ("label", "label", "label", ...)
/ optionvalues = ("value", "value", "value", ...)
/ order = order mode
/ orientation = layoutoption
/ other = "caption" or textbox
/ position = (x value, y value)
/ 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, ...)
</radiobuttons>

Properties

radiobuttons.radiobuttonsname.caption
radiobuttons.radiobuttonsname.fontheight
radiobuttons.radiobuttonsname.height
radiobuttons.radiobuttonsname.heightpct
radiobuttons.radiobuttonsname.heightpx
radiobuttons.radiobuttonsname.hposition
radiobuttons.radiobuttonsname.name
radiobuttons.radiobuttonsname.option
radiobuttons.radiobuttonsname.optionvalue
radiobuttons.radiobuttonsname.required
radiobuttons.radiobuttonsname.response
radiobuttons.radiobuttonsname.responsefontheight
radiobuttons.radiobuttonsname.selected
radiobuttons.radiobuttonsname.selectedcaption
radiobuttons.radiobuttonsname.selectedcount
radiobuttons.radiobuttonsname.selectedvalue
radiobuttons.radiobuttonsname.subcaption
radiobuttons.radiobuttonsname.subcaptionfontheight
radiobuttons.radiobuttonsname.typename
radiobuttons.radiobuttonsname.vposition
radiobuttons.radiobuttonsname.width
radiobuttons.radiobuttonsname.width
radiobuttons.radiobuttonsname.widthpct
radiobuttons.radiobuttonsname.widthpx
radiobuttons.radiobuttonsname.xpct
radiobuttons.radiobuttonsname.xpx
radiobuttons.radiobuttonsname.ypct
radiobuttons.radiobuttonsname.ypx

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>

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