I'm sorry to bother again, but I still can't get it to work. Below is the code I added into our demographics file. It runs, but the other tasks in the batch still run as well. Looking around, it doesn't look like anything is supposed to go in the parentheses of the script.abort command, but I'm not certain that is true. Is there something obvious we're missing?
Also, I'm not sure if this matters but participants are randomly assigned to a batch, were the survey pages are randomized. Everyone does the demographics page first, but the other four tasks are randomized. Any help would be greatly appreciated! Thanks!
/ caption = "Thank you for your interest in our study. Unfortunately, you do not qualify to complete the second part."
/ questions = [1=abort]
/ fontstyle = ("Arial", 2.52%, true, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ ontrialend = [if (radiobuttons.abort=="Yes") script.abort(); ]
/ caption = "Please select yes to exit the program."
/ options = ("Yes")
/ required = true