30% Off WS Form. Limited Time Only. Unlock Deal

Input Masks

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:

  1. Click the settings icon on a field.
  2. Click on the Advanced tab.
  3. Enter your input mask into the Input Mask setting.
  4. 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

Validating Input Masks

In addition to regular validation such as checking if a field is required, you can also validate mask input prior to the form being submitted. To do this, check the Input Mask Validation setting.

WS Form - Input Mask - Validation

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