O4WError routine
Description
Generates an error message using the passed text.
Syntax
O4WError(errorMessage, title, redirectTo)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
errorMessage | Text to be displayed. | |
title | <Optional> The caption to be displayed in the title bar of the message. | |
redirectTo | <Optional> The URL to redirect to after the message box is closed. |
Remarks
Your procedure should RETURN immediately after calling O4WError.
Example
O4WError(“You did not enter a valid user name”) O4WError(“Please be sure to check your entries”, “Verify Information”) O4WError(“Thank you for submitting your form!”, “Thank You”, “http:%%//%%www.revelation.com”)