Check Data Field and Write to Output Zone - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

OCR for AnyDoc
Foundation 23.1

This example checks for complete information in the telephone number field, formats the phone number, and writes it to an output zone. Disable the Output Zone ASCII check box in Output Parameters so only data from zone appears in the ASCII file.

Use this script with the Post Verification event.

If the first three digits or the last four digits of a seven digit phone number are not present, then no phone number is output. If seven digits are present, then the number is output with or without an area code.

' We want to build the phone NUMBER into the 'PhoneOutput' field.