Group: Administrators
Posts: 13K,
Visits: 104K
|
Since you did not provide your actual code, it is not possible to tell what you did wrong. What I can tell you is that it works perfectly fine if done correctly:
<block myblock> / trials = [1-3=mypage] </block>
<surveypage mypage> / stimulusframes = [1=mytext] / questions = [1=mytextbox] / branch = [if (textbox.mytextbox.response == text.mytext.currentitem) trial.match else trial.nomatch] </surveypage>
<textbox mytextbox> </textbox>
<text mytext> / items = ("A", "B", "C") </text>
<trial match> / stimulusframes = [1=matchtext] / validresponse = (57) </trial>
<trial nomatch> / stimulusframes = [1=nomatchtext] / validresponse = (57) </trial>
<text matchtext> / items = ("Your response matched the displayed text.") </text>
<text nomatchtext> / items = ("Your response did *not* match the displayed text.") </text>
|