Validation for other countries include support for extensions (i.e. US & Canada). However, "International Phone Numbers" don't validate phone numbers with extensions.

Members fund testing for the Drupal project. Drupal Association Learn more


spotzero’s picture

Status: Active » Needs review
698 bytes

The attached patch checks for an obvious extension (the 'x' character) and removes the extension part before the phone number is validated.