A pattern that shapes what a user types as they go, automatically adding formatting like slashes in a date or spaces in a card number.
Synonyms
- field mask
- format mask
- masked input
Related terms
In plain words
- the box that adds the slashes in a date for you
- auto-formatting as you type
Usage example
An input mask turns the phone number into (555) 123-4567 as the user types the digits.
Don't confuse with…
- placeholder textAn input mask actively formats what is typed; placeholder text is only a passive example that disappears.
Categories
- Forms & inputs