ReferenceError: $text is not defined

URL of experiment: Maitland/morphological_task

Description of the problem:

I am creating a task, in which participants are presented with a sentence and they are to click the correct characters that go with it. For example, there will be one sentence above, and two characters below, the participant needs to click one of the two characters that go with the sentence.

The script works perfectly offline via PsychoPy, however, when running it via Pavlovia I get the error * ReferenceError: $target_corr is not defined when I click on one of the characters. As far as I am aware I have defined the target_corr as it works offline. (One character is labelled ‘target_corr’ and the other is labelled ‘target_incorr.’).

Forgive my Mandarin, as I just typed in random characters to try and get the script working.

Thank you!

Try removing the $. In general if there is a grey $ to the left of a parameter field you should not use one within the field.

Hi,

Thank you for replying.

I tried this previously but I am still getting the same error, however, I have took off the $ sign and have reuploaded. Still getting $text is not defined.

Have you tried an incognito tab?

Also, I notice your version is 2024.2.1post4

I would recommend that you upgrade to 2024.2.4

1 Like

I have tried running an Incognito tab, I now get just a blank screen. I have no folder labelled ‘index.html’ as the issue with previous forums.

And I shall update to the new version as soon as possible.

If you get a blank screen in an incognito tab, there might be an error message in the developer tools.