Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi there,
I just don't know how to fill the field woth the spanish phone numbers, is giving me error all the time.
A conventional fix phone number would be:
+XX(International spain code)
9 numbers (XXXXXXXXX)
XX(province code), XXX XX XX (phone number)
Comment | File | Size | Author |
---|---|---|---|
#8 | spanishfix-975404-8.patch | 2.81 KB | sja1 |
#4 | spanishfix-975404-4.patch | 2.98 KB | rfsbsb |
Comments
Comment #1
karlitos CreditAttribution: karlitos commentedComment #2
vthirteen CreditAttribution: vthirteen commentedbizarre...
Comment #3
makokis CreditAttribution: makokis commentedi have the same problem. I use Drupal 7.18 (Commerce Kickstart 7.x-2.0).
¿how did you solve it?
thanks
Comment #4
rfsbsbHi guys, I was looking at the code and it wasn't ok according to this page http://en.wikipedia.org/wiki/Telephone_numbers_in_Spain so I wrote a small patch to fix it.
Can you test the and check if it works?
In case any of you don't know how to apply the patch, here's how http://drupal.org/node/87303/git-instructions/7.x-1.x
Comment #5
makokis CreditAttribution: makokis commentedi do not how, but is solved by the moment. Thanks for your offer, maybe it helps
someone in the future.
Thanks :)
Comment #6
rfsbsbWas it already fixed or the patch fixed it?
Comment #7
rfsbsbHi @makokis, can you tel if the problem was fixed using the patch or was it already fixed?
Comment #8
sja1 CreditAttribution: sja1 commentedHello. This patch worked for me. I had to modify the patch very slightly to be able to apply it to the 2.18 version of the module. Modified version is attached.
Comment #9
sja1 CreditAttribution: sja1 commentedActually, the patch didn't work. The regex seems to return zero. What did work finally was comment 3 on this issue: https://drupal.org/node/1309680. Marking as duplicate.
Comment #10
sja1 CreditAttribution: sja1 commentedDuplicate of https://drupal.org/node/1309680