up Inquisit Language Reference

errormessage attribute

The errormessage attribute specifies whether to display a feedback stimulus when the subject responds incorrectly.

Member of

<block> <expt> <likert> <openended> <slidertrial> <trial>

Syntax

/ errormessage = false

or

/ errormessage = true(stimulusname, duration)

Parameters

stimulusname The name of a stimulus element defined elsewhere in the script.
duration An integer or property specifying duration in milliseconds for which the stimulus is displayed on the screen. A value of "0" indicates that stimulus should be displayed for the remaining duration of the trial.

Remarks

Errormessage specifies a stimulus to be shown immediately after the subject gives an incorrect response on a trial. The stimulus is shown for duration milliseconds. Errormessage can be set at the <trial>, <block>, or <expt> level, with <trial> settings overriding <block> settings and <block> settings overriding <expt> settings. Default is false.

Examples

The following block displays text for 500 milliseconds if an incorrect response is given:

<block myblock>
/ trials=[1-10=noreplace(trial1, trial2)]
/ errormessage=true(errortext, 500)
</block>

The following block displays text for values.errormessageduration milliseconds if an incorrect response is given:

<block myblock>
/ trials=[1-10=noreplace(trial1, trial2)]
/ errormessage=true(errortext, values.errormessageduration)
</block>

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