accessKey

Specifies an accelerator key that is used by an interactive application to move the input focus to a particular field element.

Syntax

Reference_Syntax.accessKey = "character"

Values

Type

Values

String

The value of this attribute is a single character. When the user synchronously presses the platform-specific modifier key and the single character, the form’s focus shifts to this field. On Windows systems, the modifier key is the ALT key and on Mac OS systems, it is the OPTION key.

For example, if the form author sets the accessKey of a field to f and a Windows user presses Alt+f, the focus shifts to that field.

When designing forms that include accelerator keys, form designers should instruct the users about the availability of the accelerator keys.

Applies to

Model

Object

Form Model

exclGroup

field

Version

XFA 2.2

Examples

JavaScript

TextField1.accessKey = "f";

FormCalc

TextField1.accessKey = "f"

// Ethnio survey code removed