7.4

Table Of Contents
l 9 :Indicates any numeric character from 0 to 9.
l A:Indicates an alphabetic character from A to Z. The character will be converted to uppercase.
l X:Indicates an alphanumeric character from 0 to 9 or Ato Z. Alphabetical characters will be converted to uppercase.
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/USphone 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 USzip code
90210
32454
A9A\ 9A9 ACanadian postal code
H0H 0H0
J0S 1J0
H1V 2C8
\$999\,999\.99
Dollar amount with thousand separator, up to $999,999.99 dollars. However, note that all char-
acters must be present, so the mask must be padded with zeroes (0) if the amount does not
fully fill each box (see examples)
$000,001.99
$321,443.54
$000,599.97
It is important to understand that these masks are very precise and will not accept any sort of variation. For example, the sec-
ond example (phone number with extension)will only accept a 3-digit extension. A 5-digit extension could not be entered with
this mask. Because the Multi-Area Field will automatically divide the field into boxes accepting one character per box, this is
made clear to anyone using these boxes.
Regular Expressions
If the data that is expected from the field can vary in contents as well as length, a Regular Expression can be used instead of a
Custom mask. Regular expressions are much more powerful but they can be difficult to understand at first. Note that a Regular
©2010 Objectif Lune Inc - 170 -