Adds the stimulus to the specified frame of a trial.
<likert>
<trial>
Name | Type | Description |
---|---|---|
value | stimulus | The new stimulus. |
index | integer | The index of the frame. The first item in the list is 1. |
The following dynamically adds an error feedback stimulus to the trial if performance dips below 50%:
<trial sometrial>
/ ontrialend= [if (trial.sometrial.percentcorrect <= 50) trial.test.insertstimulusframe(text.errorfeedback, 1); ]
</trial>