up Inquisit Language Reference

selected property

Indicates whether or not a given option in a multiple choice survey question was selected.

Member of

<checkboxes> <dropdown> <listbox> <radiobuttons>

Remarks

This property returns true if the option at the specified index was selected, or false if it was not selected.

Examples

The following displays whether the first item in a checkbox question was selected:

<text sometext>
/ items= ("selected = <% checkboxes.foo.selected.1 %>")
</text>

The following displays whether the second item in a listbox question was selected:

<page somepage>
selected = <% listbox.bar.selected.2 %>
</page>

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