thisTrial is not defined online?

URL of experiment: Pavlovia

Description of the problem:
Hi!

I’m using the following code to pick a condition at random from my excel file:

Works offline. However, online I get this error message:

How do I fix this?

Thank you! :slight_smile:

Thinking about it, I suppose I could just add listenDur and tapDur as in new columns in the excel file. Like so:

Screenshot 2020-07-09 at 19.42.50

…and then remove the thisTrial code that Java doesn’t like?