View Single Post
Old 01-22-2013, 05:38 PM   PM User | #7
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
Quote:
Originally Posted by Philip M View Post
I am sure that you know what you are doing...
Surely there are only a limited number of valid formats?
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.
xelawho is offline   Reply With Quote