The C1MaskedTextField control provides an editable mask that supports a set of special mask characters/symbols. These characters are used to specify the format in which the data should be entered in an input field. For this, all you need to do is use the mask property and specify the data format.
For example, setting the mask property for a C1MaskedTextField control to "90/90/0000" lets users enter date in international format. Here, the "/" character works as a logical date separator.
The following table enlists mask symbols supported by the C1MaskedTextField control.
Mask Symbol | Description |
0 | Digit |
9 | Digit or space |
# | Digit, sign, or space |
L | Letter |
? | Letter, optional |
C | Character, optional |
& | Character, required |
I | Letter or space |
A | Alphanumeric |
a | Alphanumeric or space |
. | Localized decimal point |
, | Localized thousand separator |
: | Localized time separator |
/ | Localized date separator |
$ | Localized currency symbol |
< | Converts characters that follow to lowercase |
> | Converts characters that follow to uppercase |
| | Disables case conversion |
\ | Escapes any character, turning it into a literal |
All others | Literals. |