Description of the problem:
I’ve built a G-Maze Task (forced choice, self-paced reading) and it runs flawlessly in Builder but not online. More specifically, loop termination only works for the actual trial online but not the practice trial, although I’m using the same routines and code (variables have been adjusted accordingly) in both of them.
To see whether it has to do with any of my condition files I have re-created the task, starting with the actual trial and then add the practice run (in which case the trail works fine, but the practice run doesn’t) and then I built the practice run first and then added the actual trial (in which case the practice run worked fine, but the actual trial didn’t) > so, a first-come-first-served kind of deal. I couldn’t find any differences in the code between the two trials in the JS version, but then again, I know next to nothing about JS.
How it is supposed to work (as it does in Builder):
Trials continue until the end of a sentence as long as participants answer correctly. If not, participants receive feedback and the trial (or sentence) is terminated > they move on to the next sentence, i.e. the next block of rows as predetermined by the condition file in the outer loop.
How it actually runs online:
In the practice run, the trial doesn’t terminate after an incorrect response, but gives feedback and continues the sentence. In the actual trial (same setup) everything works fine.
Any ideas why that is???
I have attached the experiment and the condition files.
Thanks in advance for your help.