URL of experiment: https://run.pavlovia.org/syahn/letter-based-attention/html
Description of the problem:
I’ve built my online experiment through Psychopy v.2020.1.2, and found it running smoothly online through Pavlovia.
A problem arises when I’m trying to pass participants’ ID through URL parameters. I input URL parameters with correct keys of expInfo dictionary in the experiment file, but info dialog still keeps popping up asking participants to insert variables themselves at the start and the saved data also does not come with passed url parameter values.
I checked psychojs source code for dialogbox(https://github.com/psychopy/psychojs/blob/master/js/core/GUI.js), and they seem to get url parameters first and only create text entry if the key is not in the url, but not understand why this does not work from my end. I tried tweaking the code with util.getUrlParameters() but didn’t work well.
Anyone who has the same issue or has solved this kind of issue before? Any kind of tips will be greatly appreciated. Thanks!