Client: Dunkin Donut for ICG Date: 01/2013
Role: Product Design, Lead UX and UI Designer, Researcher, Note Taker. UI styling to match ABS styling.
Single-Field Credit Card Input Pattern
A credit card with input masks refers to a method of formatting and securing credit card information during data entry, typically in digital or online environments. Input masking involves automatically formatting the credit card number as it is entered, often by adding spaces or other separators to make the number more readable and easier to validate. For example, credit card numbers are often formatted with spaces after every four digits, mimicking the way they appear on physical cards. This approach helps users verify the accuracy of the number they have entered and reduces errors during the checkout process.
In addition to formatting, input masking can also refer to the practice of hiding or obscuring the actual credit card number during input, which enhances security by preventing the full number from being visible. This is particularly useful in scenarios where the credit card information is being entered into a form or a payment gateway.
References:
Luke Wroblewski has been talking for a long while now about how input masks make form entry a lot less painful for people. He recently highlighted Square Wallet‘s clever single-field credit card capture pattern. The post referenced a phenomenal port of Square’s native app behavior for the Web by Zachary Forrest (@zdfs). Luke’s excellent work was just what I needed to get started.


