Using the Input Mask Property
Nearly every input field includes an Input Mask property. An input mask refers to a specific expression that allows a user to only enter data in a certain format.
For example, you may want users to enter an order number that follows a certain standard (000 - S00) where the 0 is a number and the S is a letter. The Input Mask feature will force the user’s input into that format.
Input Mask Options
- Digits Only: 0
- Digits Optional: 9
- Digits Recursive: #
- Alphanumeric: A
- Alphabetical: S
Other allowed characters
An input mask can contain other characters to assist in your mask such as slashes, commas, spaces, dashes, periods, parentheses, colons, percentages, etc.
Digits Only
- Date: 00/00/0000
- Time: 00:00:00
- DateTime: 00/00/0000 00:00:00
- Phone: (000) 000-0000
Digits Optional
- IP Address: 099.099.099.099
Digits Recursive
To apply a mask that sets digits as recursive, use the # character. Here is an example:
- Multiple Digits: 0#
Alphanumeric
To apply a mask that only allows alphanumeric characters, use the A character. Here is an example:
- Product Key: AA-000-000
Alphabetical
To apply a mask that only allows alphabetical characters, use the S character. Here is an example:
- Multiple Letters: S#