App Object Methods
alert
Parameters: cMessage, [nIcon], [nType]
Returns: nButton
This method displays an alert dialog on the screen. The minimum required parameter is a string
containing the message to be displayed. Optionally, an icon type can be specified by using the
nIcon parameter. The following is a list of icons and their associated values:
Additionally, a button group type can be specified:
This method returns the type of the button that was pressed by the user:
beep
Parameters: [nType]
Returns: none
Acrobat Forms - JavaScript Object Specification
Icon
Error (default)
Warning
Question
Status
Button Group
OK (default)
OK, Cancel
Yes, No
Yes, No, Cancel
Button Type
Error
OK
Cancel
No
Yes
Value
0
1
2
3
Value
0
1
2
3
Value
0
1
2
3
4
13