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)
/ fontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ options = ("label", "label", "label", ...)
/ optionvalues = ("value", "value", "value", ...)
/ order = order mode
/ orientation = layout
/ other = "caption" or textbox
/ position = (x expression, y expression)
/ required = boolean
/ responsefontstyle = ("face name", height, bold, italic, underline, strikeout, quality)
/ size = (width expression, height expression)
/ subcaption = "text"
/ subcaptionfontstyle = ("face name", height, bold, italic, underline, strikeout, quality)
/ txcolor = (red expression, green expression, blue expression)
/ validresponse = ("character", "character",...) or (scancode, scancode, ...) or (stimulusname, stimulusname, ...) or (mouseevent, mouseevent, ...) or (joystickevent, joystickevent, ...) or ("word, word, ...") or (keyword)
</radiobuttons>
Properties
radiobuttons.radiobuttonsname.caption
radiobuttons.radiobuttonsname.fontheight
radiobuttons.radiobuttonsname.height
radiobuttons.radiobuttonsname.hposition
radiobuttons.radiobuttonsname.name
radiobuttons.radiobuttonsname.option
radiobuttons.radiobuttonsname.optionvalue
radiobuttons.radiobuttonsname.required
radiobuttons.radiobuttonsname.response
radiobuttons.radiobuttonsname.responsefontheight
radiobuttons.radiobuttonsname.selectedcaption
radiobuttons.radiobuttonsname.selectedvalue
radiobuttons.radiobuttonsname.subcaption
radiobuttons.radiobuttonsname.subcaptionfontheight
radiobuttons.radiobuttonsname.typename
radiobuttons.radiobuttonsname.vposition
radiobuttons.radiobuttonsname.width
radiobuttons.radiobuttonsname.width
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>