E-mail List Archives
RE: Date & phone number format
From: Randy Pearson
Date: Dec 7, 2003 7:21AM
- Next message: Jason Taylor-UsableNet: "Re: Universities Legal Web Accessibility Update"
- Previous message: Terence de Giere: "Re: Linear Access and Text Only"
- Next message in Thread: None
- Previous message in Thread: Gemayel, Ziad: "Date & phone number format"
- View all messages in this Thread
We tend to prefer the first approach, but with the caveat of being flexible
on the back end. For example, in a phone number, don't disallow spaces,
etc., but rather you can strip out any punctuation on the back end and then
validate what's left (and later render with your own preferred formatting).
With dates, the same applies, but we also interpret 2-digit years for their
most likely meaning.
If you go the multi-field approach, there are some JS approaches to avoid
the tabbing by jumping to the next field when the previous one is "full". Be
cautious with these. I've seen some bad ones, and users may not always be
expecting them, which can lead to confusion.
-- Randy
>
- Next message: Jason Taylor-UsableNet: "Re: Universities Legal Web Accessibility Update"
- Previous message: Terence de Giere: "Re: Linear Access and Text Only"
- Next message in Thread: None
- Previous message in Thread: Gemayel, Ziad: "Date & phone number format"
- View all messages in this Thread