Needs work
Project:
Phone
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2010 at 00:27 UTC
Updated:
26 May 2017 at 02:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
thierry_gd commentedCould you provide a list of different valid and invalid numbers including or not the country code
Comment #2
alexanderpas commentedHowever, it seems that they have some weird scheme going on there.
http://en.wikipedia.org/wiki/Telephone_numbers_in_Mexico
Comment #3
scottalan commentedI needed to validate a custom webform field and I was already using this module to handle other validation for cck fields so I went ahead and started patching the module for 'Mexico'. I only added what was necessary for my use case so it is incomplete. Nonetheless I thought I would post it here and maybe someone could complete it.
Comment #4
melonangie commentedI updated the .inc file to format numbers like (xx) xx-xx-xx-xx or (xxx) xxx-xxxx. And update the patch to work in the current 7.x-1.0-beta1, 7.x-1.0-dev or 7.x-1.x branch.