up Inquisit Language Reference

anchorValue function

Returns the anchor value at the specified index.

Member of

<likert>

Syntax

likert.name.anchorValue(index)

Return Type

string

Parameters

Name Type Description
index integer The index of the anchor value to get.

Remarks

The anchorValue function returns a value from a likert's list of anchors.

Examples

The following displays the anchor value from a likert element in the item for a text element:

<text myText>
/ items= ("current category = <% likert.example.anchorValue(1) %>")
</text>

The following displays an anchor value in an instruction page:

<page myPage>
current category  = <% likert.example.anchorValue(10) %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.