up Inquisit Language Reference

selectedcaption property

The caption corresponding to the selected option on a multiple choice survey question.

Member of

<dropdown> <listbox> <radiobuttons>

Remarks

The selectedcaption property returns the caption of the selected option as defined by the <a href="../attributes/options.htm">options</a> attribute. If no option is selected, an empty string is returned.

Examples

The following displays the value of selected option in a text stimulus:

<text sometext>
/ items= ("selectedcaption = <% radiobuttons.foo.selectedcaption %>")
</text>

The following displays the value of option in an instruction page:

<page somepage>
selectedcaption = <% listbox.bar.selectedcaption %>
</page>

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