Hello,
I am currently trying to program a simple anagram task to pretest the difficulty of some anagrams. To make the analysis easier, I would like Inquisit to put in the data file whether each anagram was solved correctly by the participant.
The anagram will be displayed for 7 seconds, then a textbox element is supposed to appear for at least 5 seconds, in which the participant can type their response. Within the textbox element I used the attribute "correctresponse" and referenced a text stimulus that itself references an item list of strings. But I always get the error "Invalid syntax 'solutions'". You can see the syntax below. What am I doing wrong? Is there another way to implement this? Any help would be much appreciated.
________________________
<item anagrams>
/1=....
</item>
<item solutions>
/1=...
</item>
<text anagrams>
/items = anagrams
/select = sequence
/fontstyle = ("Arial", 5%, true)
</text>
<text solutions>
/items = solutions
/select = current(anagrams)
/fontstyle = ("Arial", 5%, true)
</text>
<trial anagram>
/stimulustimes = [1=anagrams]
/responsetrial = (noresponse, response)
/timeout = 7000
/recorddata = false
</trials>
<surveypage response>
/questions = [1=response]
</surveypage>
<textbox response>
/fontstyle = ("Arial", 5%)
/maxchars = 5
/minchars = 5
/textboxsize = (5,1)
/correctresponse = (anagrams)
</textbox>
______________________________
I already read the posts on "
validresponse in textbox elements" where Dave said that a text element referenced in the textbox element needed to be presented/used in the current trial. I tried some things in that regard but it didn't work so I assume I didn't really understand that point or didn't know what to do with that information...