up Inquisit Language Reference

selectedCaption property

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

Member of

<checkboxes> <dropdown> <listbox> <radioButtons>

Syntax

optionitem.name.selectedCaption

Read Only

Type

string

Remarks

The selectedCaption property returns the caption of the selected option as defined by the options 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 myText>
/ items= ("selectedCaption = <% radioButtons.foo.selectedCaption %>")
</text>

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

<page myPage>
selectedcaption = <% listbox.bar.selectedCaption %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.