Javascript

A Javascript validator evaluates a specified javascript expression upon modifications of a field in the PDF reader.
The result of the expression must be returned in the event.rc property.

Properties

Name
Project script attribute
Description
Validation script
script
A javascript expression that is executed when the field is about to lose its focus.
Keystroke validation script
keystrokescript
A javascript expression that is executed after each keystroke (key press on the keyboard) in the field that the validator is attached to.

Project script node name

valjavascript
See also:
Adobe JavaScript API reference