I think you need to double define your functions because they are not inmediately assigned to the name you geve them in JS. Have a look at this:
niclai
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Experiment working offline fine but giving error in online mode | 7 | 1042 | May 1, 2020 | |
| Custom functions in Pavlovia | 5 | 638 | May 12, 2022 | |
| Defining function breaks the experiment (Drag & Drop Stimuli) | 5 | 527 | September 17, 2021 | |
| Python to JS | Pavlovia: "ReferenceError: [function] is not defined" | 6 | 813 | October 30, 2021 | |
| Custom function not defined when called from a different routine | 4 | 1647 | May 9, 2022 |