My relevant tips. However, you might want to consider embedding Pavlovia Surveys instead of Daisy Chaining to Question Pro. You can’t daisy chain in the middle of an experiment – it would count as two experiments (pre survey and post survey).
Developer Tools
If you encounter an error in an online study, open the Developer tools console using Ctl-Shift-I in Windows/Chrome, Cmd-Opt-J or Cmd-Opt-I in Mac/Chrome, F12 in IE/Edge, Ctrl-Shift-J in Windows/Safari or Ctrl-Opt-J in Mac/Safari.
[image]
[image]
Select the Console tab at the top and errors item on the left to view errors.
Ignore the 404 error related to favicon.ico
Look for the error that appears on the main screen and click on the link next to Scheduler._currentTask. Take…
ReferenceError: varName is not defined
This is one of the most common errors in online experiments
[image]
It is also one of the easiest to solve. The issue is one of “scope”. To define a variable so it has scope across your whole experiment, all you have to do is assign it a value. Don’t edit your JavaScript to add “var” or “let” commands. To give your variable scope assign the value in a Begin Experiment code component tab outside any clauses (i.e. no Python indents).
[image]
I usually s…
Daisy Chaining
Daisy chaining means going from one web application to another in a single participant session. It normally requires passing the values of one or more variables from one app. to the next so that the data can be matched.
There are two aspects to consider.
The first is sending values TO Pavlovia. I highly recommend that you send a value for participant (without changing the spelling or capitalisation) since this value will start the data file and log file names. A column for sessi…