We are running an online experiment using a batch script in Inquisit Web. Everything ran fine with extensive piloting on various different systems (Windows and Mac). However, now that we have launched the experiment, some participants are reporting errors for one of the experiments. Specifically, we are running the Number/Letter task where participants are required to press the "E" and "I" keys to respond.
The error message is:
"%parameters.RightKeyLabel is invalid. Expression contains an unknown element or property name"
The code for this is in the Parameters section, as follows:
/leftKey = 18
/leftKeyLabel = "E"
/rightKey = 23
/rightKeyLabel = "I"
I am fairly sure this is the code that is throwing the error, and I am fairly sure the problem is having the key-codes hard-coded (so I'm guessing this isn't the same for all OS-es or keyboards?). Does anyone have a solution to this?
On the other hand, it COULD be an HTML code error in this section:
/2 = "~nIn this task you will be presented simple pairs of characters such as 'U2' or '3L'. One and only one of the characters is always a letter.
~nYour task is to decide as fast as possible whether the letter is a CONSONANT or a VOWEL.
~nPress the <%parameters.leftKeyLabel%> button if the letter is a <%expressions.left%>.
Press the <%parameters.rightKeyLabel%> button if the letter is a <%expressions.right%>.
~nIf you make a mistake, a red X appears. Simply correct your response and move on.
If this is the case, what is the solution? This is NOT occurring for every participant!!