What the person is doing
The field value has known character positions, group lengths, literal separators, or check digits.
Application · lesson 17 of 34 · Input And Data Entry
Underlying principle: An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
Use an input mask to help users enter data that has a stable character structure, especially when grouping matches the physical document, card, container code, or serial key users are copying from.
An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
The field value has known character positions, group lengths, literal separators, or check digits.
Use an input mask to help users enter data that has a stable character structure, especially when grouping matches the physical document, card, container code, or serial key users are copying from.
Empty untouched state with label and visible format example.
Is this value truly fixed-format, or are there legitimate exceptions?
Typing valid characters fills the next available mask slot and inserts literal separators automatically.
The field value has known character positions, group lengths, literal separators, or check digits.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The field value has known character positions, group lengths, literal separators, or check digits.
Use an input mask to help users enter data that has a stable character structure, especially when grouping matches the physical document, card, container code, or serial key users are copying from.
Empty untouched state with label and visible format example.
The mask rejects real values with different lengths, regions, scripts, or exception formats.
Connect hint, format example, canonical-value note, and error text to the input with descriptive relationships where supported.
Maersk Design System - checked
Maersk supports using masks for stable expected formats while preserving copy/paste and correction, and distinguishes masks from prefix/suffix or ordinary inputs.
SAP - checked
SAP Fiori supports mandatory labels, mask patterns, immutable characters, aria-described guidance, paste behavior, deletion behavior, and mask avoidance when valid data would be blocked.
Microsoft - checked
Microsoft documents masks as placeholder and literal-character constraints, including canonical storage choices and warnings against exceptions or date picker conflicts.
Google Material Design - checked
Material Design supports grouped formatted input, helper text, error text, and prefix/suffix alternatives for text fields.
Source trail checked: