Reply To: Proceeding to the next trial based on different conditions

PennController for IBEX Forums Support Proceeding to the next trial based on different conditions Reply To: Proceeding to the next trial based on different conditions

#7765
Jeremy
Keymaster

Hi,

You can replace newTimer("timeout",5000).start().wait() with newButton("Skip").callback( end() ).print() to print a Button element which, when clicked, will end the trial immediately

Your current code (re)starts a new Timer element whenever the participant presses Enter from within the input box, and tell PennController to wait for it to elapse before proceeding, regardless of whether a new, correct response is given before its end

Jeremy