File
Here's To
The Crazy Ones
The Misfits
The Rebels
The Troublemakers
Edit
The Ones
Who See
Things
Differently
View
They're
Not Fond
Of Rules
Special
Stay
Hungry
Stay
Foolish
? Konigi
Konigi Konigi Art Art Photos Photos Design Design Blog Blog
Input Masks in Forms

Input Masks in Forms

Luke Wroblewski pointed to Josh Bush's Masked Input Plugin for JQuery. Luke writes that the plugin "integrate(s) formatting cues directly into an input field to help signal how to correctly answer a question. These formatting instructions are automatically included in an input and cannot be removed by a user. More importantly, a user cannot enter other non-valid characters into the input field. Check out the demo at Masked Input Plugin."

The video Luke posted to YouTube, and the demo on Bush's site, show how the input mask works. Great example of an elegantly conceived method for error prevention in forms.

http://www.lukew.com/ff/entry.asp?756