Aborts the script.
<script>
Name | Type | Description |
---|---|---|
abortbatch | boolean | Optional. Whether the entire batch should be aborted. |
The following aborts the script at the end of an informed consent trial:
<trial consent>
/ ontrialend= [if ( trail.consent.response == 57 ) script.abort();]
</trial>
The following aborts the script if performance dips below threshold:
<trial sometrial>
/ ontrialend= [if ( trial.sometrial.percentcorrect <= 50% ) script.abort();]
</trial>