Hunsberger, Peter wrote:

Vadim Gritsenko <[EMAIL PROTECTED]> writes:

Phones, credit card numbers, SSN, EIN, ITIN, etc, all can be valid in parts but not valid as a whole.


For most of these cases you should probably use a single field for data
entry.

You'd do one way, and other guy would do another way, especially if he has UI designer in-house.



To me, an error message saying "Invalid area code: '9o1'" is more
meaningful than an error message saying "Invalid phone number:
'9o1-555-5555'".

Nobody and nothing discussed in this thread stops you from doing just that.

Vadim



Reply via email to