Skip to content

Psiturk.finishinstructions

Doug Markant edited this page Oct 18, 2013 · 6 revisions

psiturk.finishInstructions

finishInstructions is used to change the participant's status code to 2 in the database, indicating that they have begun the actual task.

In addition, this adds a beforeunload handler such that if people attempt to close (or reload) the page, they will get an alert asking them to confirm that they want to leave the experiment.

Example

psiturk = new PsiTurk()
...
psiturk.finishInstructions()