PennController().noFooterGlobal Commands

PennController().noFooter() (since beta 0.3)

Will not run the footer sequence at the end of the trial.

Example:

[js highlight=”18″ try=”data”]
PennController.Footer(
newButton(“validate”, “Got it!”)
.print()
.wait()
);

PennController( “with footer” ,
newScale(“score”, 5)
.settings.before( newText(“left”,”Score:”) )
.print()
.wait()
);

PennController( “without footer” ,
newScale(“score”, 5)
.settings.before( newText(“left”,”Score:”) )
.print()
.wait()
)
.noFooter();
[/js]

The first trial (labeled with footer) will show a radio-button scale on the screen and reveal a button reading Got it! to be clicked when a radio button is selected. The second trial (labeled without footer) will end right after a radio button is selected.