Mamea
asked on
Validation of Phone Numbers
Hi,
Is there any way to validate for phone numbers (US) as well as international phone numbers in ColdFusion? Thanks
Is there any way to validate for phone numbers (US) as well as international phone numbers in ColdFusion? Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Hi,
Yes, I don't like to do cfform and I also do all of my own validation. I was wondering if there was a custom tag or some other method in CF to validate phone numbers.
Thanks
Yes, I don't like to do cfform and I also do all of my own validation. I was wondering if there was a custom tag or some other method in CF to validate phone numbers.
Thanks
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://en.wikipedia.org/wiki/E.164
http://www.itu.int/net/home/index.aspx
Once you understand that its just a matter of structuring you db table to store the values properly and designing a regular expression to match.