PennController.Footer( sequenceOfCommands ) (since beta 0.3)
sequenceOfCommands to the end of the sequence of commands of each trial created with
PennController.Footer( newText("validation instructions", "Click to go to next trial") .print() , newButton("validation button", "Validate") .print() .wait() ); PennController( newText("test sentence", "The cat chases the mouse") .print() , newScale("natural", 5) .settings.slider() .settings.before( newText("left", "Unnatural") ) .settings.after( newText("right", "Natural") ) .print() );
Without the footer, the trial defined above would be validated immediately after it has started running, since it includes no
wait command. Thankfully, the footer adds a button at the bottom of the page that must be clicked for validation.