PennController for IBEX › Forums › Support › Skipping trials logic not working properly › Reply To: Skipping trials logic not working properly
April 4, 2023 at 6:24 am
#10434

Keymaster
Hi,
The value of your Var element is numeric, it’s not a string, so I don’t expect the regular expression to test the value
If you want to test if the value is comprised between 7 and 9 included, use a function instead: getVar("correct").test.is(v=>v>6&&v<10)
Jeremy