URL of experiment: https://gitlab.pavlovia.org/kjalcock/mentalrotationtest
Description of the problem:
I need to redirect to Qualtrics after completing the Pavlovia experiment and I have put the following in Properties/Online/Completed URL
$"https://lancasteruni.eu.qualtrics.com/jfe/form/SV_eVyHpdR58UAkxEi"
When I run in Builder it gets to the final screen and then doesn’t redirect (but I assume this is correct).
When I run from Pavlovia or online from Builder it keeps saying initialising… initialising…
Bringing up the Developer Tools interface reveals this:
MentalRotationFinal.js:110 Uncaught
SyntaxError: Unexpected token ‘,’
Line 110 of the JS is the final line here
// add info from the URL:
util.addInfoFromUrl(expInfo);
psychoJS.setRedirectUrls(/* https://lancasteruni.eu.qualtrics.com/jfe/form/SV_eVyHpdR58UAkxEi */
, '');
There is definitely no comma in the Completed URL box in the Builder.
I can see a number of people have had problems with redirecting to URLs but I can’t find anyone with this exact problem.
thanks in advance
EDIT
I had this running fine before I put in the URL but now it gives the same error when I delete the URL and line 110 now reads
// add info from the URL:
util.addInfoFromUrl(expInfo);