Input masks help website users with the input of a field by ensuring it is entered in a predefined format. This can be useful for phone numbers, zip codes etc.
The input masks feature is available for Text, Phone, Text Area and Password fields.
To enter an input mask:
- Click the settings icon on a field.
- Click on the Advanced tab.
- Enter your input mask into the Input Mask setting.
- Click the Save button at the bottom of the page.
Input Mask Format
You can use the following characters to enter an input mask:
a
Alphabetical (a-z or A-Z)
A
Uppercase only alphabetical (A-Z)
9
Numeric (0-9)
*
Alphanumeric (a-z, A-Z or 0-9)
&
Uppercase alphanumeric (A-Z or 0-9)
[...]
Use brackets to encase optional parts of a mask
So for example, to force someone to enter a phone number in a US format, you would enter:
(999) 999-9999
Example Input Masks
File | Description |
---|---|
(999) 999-9999 |
US format phone number |
99999 |
5 character zip code |
99999[-9999] |
5 character zip code with optional 4 characters at end |
99/99 |
Short date |
99/99/9999 |
Long date |