Deprecated
The responseTrial attribute specifies a trial to be run next if the subject gives a particular response on the current trial.
<trial> <likert> <openended> <sliderTrial> <surveyPage>
Name | Type | Description |
---|---|---|
responsevalue | responsevalue | A valid response value for the trial. See validResponse for possible response values. |
trialname | trial | The name of a trial element defined elsewhere in the script that should be run if the specified response is given. |
This command enables conditional branching of experimental procedure based on the subject's response. A trial may contain multiple responseTrial attributes that list different trials to be run for possible responses. Inquisit evaluates each responseTrial attribute in the order specified, and the first one to match the response wins.
The following trial runs <em>happytrial</em> if the response is "a" and <em>sadtrial</em> if the response is "b":
<trial myTrial>
/ stimulusTimes = [0=myText]
/ validResponse = ("a", "b")
/ responseTrial = ("a", happytrial)
/ responseTrial = ("b", sadtrial)
</trial>