The VBScript window is used to add or change VBScript either at the form or zone level. You may enter code manually, or select from the provided OCR for AnyDoc objects.
-
To enter code manually, click and type in the VBScript window.
-
To select from the provided OCR for AnyDoc objects, click the VBScript Functions button and double-click the folders to access the available functions, operators, and constants.
If a VBScript is placed on a zone in a Pre Verification, Interactive, or Post Verification event, the script is only run if the form enters Verification and the Verifier stops on the zone. The following code can be used to call a Post Verification script from Post Extraction on a form that does not require Verification.
If Not Form.NeedsVerification Then RunPostVerifyScript
This conditionally runs the Post Verification script on the Extraction station. Pre Verification and Interactive scripts cannot be called this way. When the script is finished, click OK to exit the VBScript window and return to Rules Parameters.