up Inquisit Language Reference

setAnchorValue function

Sets the value for the likert response at the specified index.

Member of

<likert>

Syntax

likert.name.setAnchorValue(value, index)

Return Type

none

Parameters

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

Remarks

The setAnchorValue function sets the value of a likert response.

Examples

The following sets the first anchor value of a likert trial to cake.

<likert.example>
/ onTrialBegin = { likert.example.setAnchorValue("cake", 0}; }
</likert>

Copyright Millisecond Software, LLC. All rights reserved.