Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have installed this for Us/Canada and it works well, I put in 1112223333 and it formats (111) 222-333. If I input 1112223333 444 It will format (111) 222-3333 x444. It I input 1112223333 4444 it gives an error, if I change the extension to 3 digits (444) it will save the node. I did not see any issue int he queue regarding this.
Joao
Comment | File | Size | Author |
---|---|---|---|
#3 | Selection_025.png | 16.36 KB | joaomachado |
#3 | Selection_026.png | 24.44 KB | joaomachado |
#2 | Phone Number.png | 13.97 KB | joaomachado |
#2 | phone_number_error.png | 15.5 KB | joaomachado |
Comments
Comment #1
mortona2k CreditAttribution: mortona2k commentedIf I put in my phone number, plus 4 digits, it works fine. I you're getting errors on the phone number validation itself.
Comment #2
joaomachado CreditAttribution: joaomachado commentedYes, here is the error I get, if I only use three digit extension, it works fine.
Comment #3
joaomachado CreditAttribution: joaomachado commentedI was looking through the module and noticed that in the file phone/countries.txt, I see the us => US but do not see a file in in the phone/include/phone.us.inc
THere is one for Canada, does the module use phone.ca.inc for US as well?