JavaScript form input mask demonstration  The following form
fields use unobtrusive JavaScript to implement "input masks."
The maximum field length is automatically limited to the length
of the mask. The characters you can enter into the fields are
constrained, and separators are automatically added, but no
actual value checking is done. For example, the date input is
constrained to the general format for a date, but you can enter
an invalid date into the field.