Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: Another LostS Question - Phone Number Checks

by Brovnik (Hermit)
on Aug 28, 2001 at 15:22 UTC ( #108394=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Another LostS Question - Phone Number Checks
in thread Another LostS Question - Phone Number Checks

<soapbox> I agree about the "pet peeve". Often, I try to register on a US site and it won't accept my UK phone number.
Even UK systems screw up since we often have number changes and the websites often don't change quickly enough.
Suggestion (adding to comments by [id://kjherron]) :

Allow any format, strip down to digits, and check for a reasonable number of digits to allow for international dialing codes, etc. then leave it at that.

If you want real validation, you'll need to check the dialing codes for each potential country to see if they are OK, and KEEP THE DATABASE UP-TO-DATE.
</soapbox>
--
Brovnik


Comment on Re: Re: Re: Re: Another LostS Question - Phone Number Checks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://108394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-08-30 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls