Hi,

Can I suggest that you add a basic default verification of the phone number entered that is not one of the supported phone number types (i.e. French, US, Canadian)? For example, here in Ireland, we have 2, 3 and 4 digit area codes with phone numbers ranging from 5 to 8 digits, therefore the basic functionality shouldn't check the length. Basically it should ensure that only numeric characters and certain other special characters are entered. I see the special characters allowed as being + (only at the beginning of the number) and ( ) - and spaces.

Cheers,
Stella

Comments

specialtouch’s picture

Status: Active » Closed (won't fix)

This wouldn't be hard to write, but I worry it lacks real-world application.

For one thing, I'd be worried I'd reject valid phone numbers by overlooking separators that are common in other countries. For example, here in the States these are not uncommon ways to write a phone number:

555.867.5309
555/867-5309
(555) 867-5309 x1234
(555) 867-5309 ext. 1234
(555) 867-5309 xt 1234

Also if you're not standardizing the format of the inputted phone number, then does it really make sense to reject:

Email me for my phone number
Don't have phone, IM is best

I would suggest just using a standard textfield and not reject anything.

If you would like me to add support for Ireland or another country, just put in a feature request and let me know the phone number structure.