Error on correctresponse in textbox element


Author
Message
Nadine
Nadine
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 15, Visits: 128

Thanks Dave! I'll try it with the "iscorrectresponse" attribute. I guess, I didn't really understand the difference between that and the correctresponse one but I'll read up on that.


I tried intitially to use the <openended> element but the problem was that I couldn't change the font used for the answers. I used the fontstyle attribute but all that did was change the size of the button... But since the participants aren't supposed to type a text but just a single word, I would like the word they are writing to be displayed in a bigger font size and in bold like the initial anagrams that were displayed. But as I said, I couldn't make it work, the font never changed, just the size of the button...


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

Also: You should use an <openended> element, *not* a <textbox>/<surveypage>.


Edited to add: See e.g. http://www.millisecond.com/forums/Topic11482.aspx#11482 for an example. You can find many more via the search facility.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K

You are using /correctresponse incorrectly. You need to use /iscorrectresponse.


Nadine
Nadine
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 15, Visits: 128

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...

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search