PennController for IBEX › Forums › Support › How to add a "come back" button to the practice trial › Reply To: How to add a "come back" button to the practice trial
Hi,
You are wait
ing for a click on the “come back” button, so whatever comes after that wait
command won’t be executed until you click the “come back” button, but because the callback
commands executed upon click on that button end
s the trial immediately, the commands below wait
never get to be executed at all. Just remove .wait()
and things will work
You might want to replace jump("instructions_D")
with jump(startsWith("p_trial_"))
if you don’t want to show the practice instructions again. .callback("intructions_D")
won’t work because "instructions_D"
is not a command, it’s a plain string
Jeremy