PennController().noFooter

PennController().noFooter() (since beta 0.3) or newTrial().noFooter() since 1.7

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

Example:

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

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

newTrial( “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.