I have a series of 4 experiments that I need to combine into 1 session for online delivery. IN the post linked below, @wakecarter and @jon provide a solution for passing participant details from one experiment to the next, and for how to send the participant to the next element of the study after completing one part:
My follow-on question to the above is this:
What is the best way to create a (balanced) latin square design to counterbalance order of tasks between subjects?
My default approach would be to use the 4 different orders as specified by a balanced Latin square, and consequently have 4 different recruitment URLs (with mutual exclusion so that participants can only participate in one), pointing to 4 different elements of the study. But that would require creating 4 different versions of each task on Pavlovia, with the only difference being the parameters in the online tab of the experiment settings box.
That not only sound clunky, but a recipe for disaster.
So long as you have URLs set in the experiment options, it may be possible to change them using the following command: PsychoJS.setRedirectUrls(myCompletedURL, myCancelledURL) CompletedURL / IncompleteURL - #23 by jon
Have you set URLs in the experiment options? What was the error you got the second time?
Argh – feeling slightly silly here!
I figured it out. The error was that the expInfo[‘Group’] variable is of course a string so the conditional needs to read