sequenceOfCommands to the end of the sequence of commands of each trial created with
@Footer( $ newText("validation instructions", "Click to go to next trial") $ .print() $ , $ newButton("validation button", "Validate") $ .print() $ .wait() $); @ @newTrial( @ newText("test sentence", "The cat chases the mouse") @ .print() @ , @ newScale("natural", 5) @ .slider() @ .before( newText("left", "Unnatural") ) @ .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
waitcommand. Thankfully, the footer adds a button at the bottom of the page that must be clicked for validation.