Conditional Branching - incorrect answer goes back to instructions page


Author
Message
liznik
liznik
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 7, Visits: 43
Completely new to programming, and I'm not sure what I am doing wrong at this point, I have tried to rearrange everything. What I want to happen: The participant learns the values of each picture (eg -10 points, 10 points etc) in the instructions page. (which would have the text there but i didnt bother to enter it). They will then be quizzed on the picture, and if they don't type in the right answer they will have to go back to the instructions page. The learning phase will only end if they get all the stimuli correct. I cannot get them to back to the instructions page if they get something wrong 
I have also added/taken away this attribute for the openended elements. But i'm not sure if it matters/is important for the end results 
/validresponse = ("-10", "10", "-20", "20")


<page instructions>
/1 = "text"
</page>

<trial instructions>
/ stimulusframes = [1=instructions]
/ validresponse = (" ")
/ recorddata = false
</trial>

<openended gain20house>
/stimulusframes = [1=gain20house]
/position = (50,50)
/correctresponse = ("20")
/branch = [
if (openended.gain20house.response !=("20")) trial.instructions
]
</openended>

<openended lose10animal>
/stimulusframes = [1=lose10animal]
/position = (50,50)
/correctresponse = ("-10")
/branch = [
if (openended.lose10animal.response !=("-10")) trial.instructions
]
</openended>

<openended lose20place>
/stimulusframes = [1=lose20place]
/position = (50,50)
/correctresponse = ("-20")
/branch = [
if (openended.lose20place.response !=("-20")) trial.instructions
]
</openended>

<openended gain10object>
/stimulusframes = [1=gain10object]
/position = (50,50)
/correctresponse = ("10")
/branch = [
if (openended.gain10object.response !=("10")) trial.instructions
]
</openended>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search