| Reference | Downloads | Github

Mistakes on Pavlovia in loops

Hello, I have a problem with running an experiment with Pavlovia.
I do not have any errors in offline experiment, but on Pavlovia a have this:

The design of experiment is:

@elizabeth_sokolenko, you need to remove the $ from your nReps field in the loop, as the $ sign is being written to the JS and causing the Reference Error. As the nReps field already uses a dollar sign by default, you do not need to use one as well, but I have raised an issue to get this fixed in cases where users do enter a $:

Thank you! It is fixed!)