7.6

Table Of Contents
1. Create a new Capture Field Area
2. Set the Capture Field Type to User Area
3. Set the Field Style to Multi-Area Field
4. Change the Mask Type to either Custom or Regular Expression.
5. Next to the Format List, click the Edit Masks button.
To add a new mask to the list
1.
Click on the button to add a new entry.
2. Double-click in the Name box and enter a name for the expression.
3. Double-click in the Value box and enter the desired expression (see below).
Custom Masks
Custom masks are not as powerful as regular expressions but they offer two distinct advantages. First, Custom masks will
automatically divide the Multi-Area Field in which they are used into the correct number of expected boxes and any static char-
acters used in the mask will output in the Capture Field Box when printing. Second, Custom masks are simpler to use and have
a one-on-one relationship between the mask and its output.
Accepted Characters
l 9 :Indicates any numeric character from 0 to 9. Each 9 character equals a single required number in the mask.
l A:Indicates an alphabetic character from A to Z(case insensitive). Each Acharacter equals a single required letter in
the mask.
l X:Indicates an alphanumeric character from 0 to 9 or Ato Z(case insensitive). Each Xcharacter equals a single
required character the mask.
l \ followed by any character:Indicates a literal character. These characters will not be written by the client but rather
output in the mask when printing the Capture Document.
Examples
These examples should clarify how the accepted characters should be used:
Mask Description Examples
\(999\)999\-9999 Canadian phone number with the area code
(514)875-5863
(800)555-1234
\(999\)999\-9999\
\E\x\t\.999
Canadian phone number with area code and extension
(514)875-5863
Ext.123
(800)555-1234
Ext.432
\+9\(999\)999\-9999 Canada/USphone number including area code and country code. +1(800)555-1234
\P\R\O\D\-XXXXX\-AAA\-
99999
Aproduct number made of 5 alphanumerical characters, 3 letters and
then 5 numbers.
PROD-5G32B-ADE-
23643
PROD-IPHON-TGS-
16000
999\-9999 AJapanese postal code, which is digits only
325-6731
812-2298
99999 A5-digit USzip code
90210
32454
A9A\ 9A9 ACanadian postal code
H0H 0H0
J0S 1J0
H1V 2C8
©2010 Objectif Lune Inc - 168 -