Quote:
Originally Posted by xelawho
ha, ha. I wish I shared your confidence. Unfortunately, the formats range wildly, depending on which country the user is in - an Argentine cell phone could be:
XX-XXXXXX or XX-XXX-XXXX or XX-XXXX-XXXX
while a Vanuatu landline could be XX-XXX
but you don't want an Argentine cell phone number to validate according to Vanuatu landline rules just because the user forgot a few digits, if you follow my thinking.
Anyway. It's sorted now, but thanks for your input.
|
Surely it is up to the user to enter his telephone number correctly? Nothing will prevent digit transpositions etc. Likewise his email address. And indeed his name.
In any case I never reveal my telepone number which is ex-directory. If a number is required in a form I just invent one such as 0207 270 3000 (which is David Cameron 10 Downing Street). Then he can deal with all the calls about ***** enlargement.