up Inquisit Language Reference

selected property

An array of boolean values indicating whether options in a multiple choice survey question are selected.

Member of

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

Syntax

optionitem.name.selected

Read Only

Type

array

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 myText>
/ items= ("selected = <% checkboxes.foo.selected[0] %>")
</text>

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

<page myPage>
selected = <% listbox.bar.selected[1] %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.