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)

Files: 

Comments

Component:User interface» Code
Assigned:Unassigned» karlitos
Category:support» bug

"999 999 999" is not a valid Spanish phone number
Spanish phone numbers should only contains numbers and spaces and be like 999 999 999

bizarre...

i have the same problem. I use Drupal 7.18 (Commerce Kickstart 7.x-2.0).
¿how did you solve it?

thanks

Status:Active» Needs review
StatusFileSize
new2.98 KB

Hi 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

i do not how, but is solved by the moment. Thanks for your offer, maybe it helps
someone in the future.

Thanks :)

Was it already fixed or the patch fixed it?

Hi @makokis, can you tel if the problem was fixed using the patch or was it already fixed?

Version:6.x-2.7» 6.x-2.18
Issue summary:View changes
StatusFileSize
new2.81 KB

Hello. 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.

Actually, 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.

Status:Needs review» Closed (duplicate)