Description Usage Arguments Format Details Value See Also Examples
Stages are the building blocks of experiments. A single stage can result in one or more HTML pages shown to participants.
1 2 3 4 5  | 
handler | 
 A function which returns either a character string
containing HTML, a   | 
name | 
 optional name of the stage.  | 
1  | Class 'NEXT'  num -1
 | 
If WAIT is returned, the participant will be shown
a standard "waiting page" which refreshes after a defined
time interval. If HTML or a Response object is returned,
then it is passed back to the participant. In these cases the stage
will be called again next time the participant makes a request. If
NEXT is returned, the participant will be moved forward to
the next period, and the next stage will be called immediately.
a Stage object suitable for adding to an experiment.
Other stages: checkpoint;
form_stage; period;
program; text_stage;
timed
1 2 3 4 5 6  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.