up Inquisit Language Reference

correctmessage attribute

The correctMessage attribute specifies whether to display a feedback stimulus when the subject responds correctly.

Member of

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

Syntax

/ correctmessage = true(stimulusname, duration)

or

/ correctmessage = false

Parameters

Name Type Description
boolean boolean Whether or not to display a message after a correct response.
stimulus stimulus The name of a stimulus element defined elsewhere in the script.
duration value 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

Correctmessage specifies a stimulus to be shown immediately after the subject gives a correct response on a trial. The stimulus is shown for

Examples

The following block displays text for 500 milliseconds if a correct response is given:

<block myBlock>
/ trials=[1-10=noreplace(trial1, trial2)]
/ correctMessage=true(correcttext, 500)
</block>

The following block displays text for values.duration milliseconds if a correct response is given:

<block myBlock>
/ trials=[1-10=noreplace(trial1, trial2)]
/ correctMessage=true(correcttext, values.duration)
</block>

Copyright Millisecond Software, LLC. All rights reserved.