Repeatedly presenting stimuli until a correct response is given


Author
Message
rmrandal
rmrandal
Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)Associate Member (87 reputation)
Group: Forum Members
Posts: 1, Visits: 10
Hi all, 

I'm new to Inquisit, so please forgive my uninformed question.

I'm trying to show an <openended> element as part of a trial (where other things will also be shown). I want this element to keep being presented until a correct response is given (or after timeout after 5 min), and each time a wrong response is given, an error message should be displayed for 2 seconds. After the correct answer is given, I want to move on to presenting another instance of this <openended> element.
I tried working with this file:
https://www.millisecond.com/support/docs/v5/html/articles/noreplacecorrect.htm
.. but unfortunately, there are parts of the text missing so I can't quite piece together what to do. 

I would be super grateful for your help.

Below is how far I got: 

<item fillertask_question>
/1 = "How many 1's do you count?

10000000000110010001
10011110010110010001
10000000000010110001
10000110000110010001
10110010000000010001
"
/2 = "How many 1's do you count?

22200111022110010000
10000111000110021000
10002211000110010000
00000001200110010010
10000111000110010000
"
</item>>

<text fillertask_text>
/ items = fillertask_question
/ select = noreplace
/ position = (50%, 50%)
/ valign = center
/ size = (80%, 40%)
/ fontstyle = ("Calibri", 22pt, false)
</text>

<text response_message_correct>
/ items = ("That was the right answer! Please go on to the next task.")
/ select = noreplace
/ position = (50%, 90%)
/ valign = center
/ size = (80%, 40%)
/ fontstyle = ("Calibri", 22pt, false)
</text>

<text response_message_wrong>
/ items = ("That was the wrong answer! Please try this task again.")
/ select = noreplace
/ position = (50%, 90%)
/ valign = center
/ size = (80%, 40%)
/ fontstyle = ("Calibri", 22pt, false)
</text>

<openended fillertask>
/ stimulusframes = [1 = fillertask_text]
/ correctresponse = ("20")
/ errormessage = true(response_message_wrong,200)
/ position = (50%, 80%)
</openended>

<block storyblock>
/ trials = [1-2 = fillertask]
</block>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search