up Inquisit Language Reference

prevkey attribute

The prevkey attribute specifies which keyboard response navigates back to the previous instruction page.

Member of

<instruct>

Syntax

/ prevkey = ("character")

or

/ prevkey = (scancode)

or

/ prevkey = (signal)

Parameters

character A character indicating a correct keyboard response.
scancode An integer specifying the scancode of a correct keyboard response. See the scancodes table for corresponding key value assignments.
signal An integer representing the response code of a serial or parallel port device such as a response box.

Remarks

To disable the previous key so that participants can only navigate forward through the instructions, set this attribute to noresponse. The default value is the space bar the backspace key.

Examples

The following sets the previous key to the "m" key:

<instruct>
/ prevkey = ("m")
</instruct>

The following disables the previous key by setting the value to noresponse:

<instruct>
/ prevkey = (noresponse)
</instruct>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.