@dvdbridges I had commented the Python code out because I was trying to write a working JS code (the Python code was working but the JS code wasn’t).
Thank you for the suggestion about putting the code in the conditions! It works now both locally and online!!
In the “conditions” field I’ve tried various iterations, and both seem to work (the second one causes the resources to load a bit slow at the beginning of the online experiment). I’m sticking with the first one.
1:
$expInfo['participant']+expInfo['GENDER']+'.csv'
2:
$str(expInfo['participant'])+expInfo['GENDER']+'.csv'
I am overjoyed that the experiment is finally working. Thank you @dvdbridges!