Plugin: Opt-In Panda for WordPress
Version: 1.1.9+

Masks allow a user to more easily enter fixed width input in a certain format.

A mask is defined by a format made up of mask literals and mask definitions. Any character not in the definitions list below is considered a mask literal.

Mask literals will be automatically entered for the user as they type and will not be able to be removed by the user. The following mask definitions are predefined:

a – Represents an alpha character (A-Z,a-z)
9 – Represents a numeric character (0-9)
* – Represents an alphanumeric character (A-Z,a-z,0-9)

Examples

(999) 999-9999 - Phone
99/99/9999 - Date
999-99-9999 - SSN

On the screenshot below, there is the mask set for the field Phone:

Leave a Reply

Your email address will not be published. Required fields are marked *