Adobe 12001196 - Acrobat - Mac Manual page 69

Javascript
Hide thumbs Also See for 12001196 - Acrobat - Mac:
Table of Contents

Advertisement

Region/Name See Reference
Time
Special
Custom
Table Notes.
Number: The example in the table corresponds to a comma delimited euro currency
with two decimal points in the UI.
Custom: Any format script that does not use the above mentioned format functions is
classified as custom formatting script. Custom keyboard script is set using the
setAction
Validate Tab
The action of the combo box can be set with the field level
of "Validate". Validation can consist of either verifying that an input value is between given
limits, or validation can be performed by a custom script. See
information.
Region/Name
Field value is in range
Run custom validation
script
Table Notes.
Custom: Any validate script that does not use the AFRange_Validate() function is
classified as custom.
Acrobat JavaScript Scripting Guide
AFTime_Format()
AFSpecial_Format()
with a trigger name of "Keystroke".
See Reference
AFRange_Validate()
Javascripts\aform.js
Using Acrobat JavaScript in Forms
Creating form fields programmatically
Example
see table notes
setAction
Field/Validate
Example
in
f.setAction("Validate",
'AFRange_Validate(true,
0, true, 100)');
/* value between 0 and
100, inclusive */
see table notes
4
and a trigger name
for more
69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents