Hi Dave,
Thanks again for the quick reply! Unfortunately, the line / branch = [if
(openended.Question.response != "") surveypage.followupQuestion]
doesn't do the trick for me. I guess it would work perfectly if I just wanted to ask a single question.
However, I have a task with a whole bunch of different questions (and potential
follow up questions). Thus, several repetitions of the same trial with
different stimulus items (/questions). Now I noticed that the line you propose works well if I never enter any response. However, once a participant has entered a
response on any given trial, every following trial will automatically branch to the
followup question, even if the person doesn't so much as touch the keyboard. Is there any way around this?
My problem second problem, concerning the correct
response, is related to this as well, I think. Since I present a series of different
questions, I also have a series of different correct answers. So I tried the
following:
<text Question>
/items = question
/position = (50, 50)
/size = (800, 100)
/fontstyle = ("Arial", 3.12%, true, false, false, false, 5, 1)
/txcolor = (0, 0, 225)
/halign = center
/select = noreplace
</text>
<item question>
/ 1 = "blah bla blah ...1 ?"
/ 2 = "blah bla blah ...2 ?"
...
/ 15 = "blah bla blah ...15 ?"
</item>
<item answer>
/ 1 = "answer1"
/ 2 = "answer2"
...
/ 15 = "answer15"
</item>
<openended Question>
/ stimulusframes = [1=Question]
/ mouse=false
/ position= (50, 60)
/ charlimit = 100
/ numlines = 3
/ linelength = 20
/ fontstyle = ("Arial", 2.00%, false, false, false, false, 5, 1)
/ buttonlabel = "You have one minute to type an answer"
/ correctresponse = ("item.answer")
/ timeout = 6000
/ branch = [if (openended.Question.response != "")
surveypage.insight]
</openended>
I don't get an error message with this, but every response is just scored as incorrect.
I don't know if you can even specify the correct response as a list of items. I just tried it because it sounded logical and I couldn't think of any other way to do it. Any ideas?
Thanks in advance,
Claire