Location is one of the most used module to locate users, customers, etc., it would be great that the phone field there be as complete as the one in this module :
http://drupal.org/project/cck_phone

By complete I mean to provide settings and check the field content based on countries.
Is it possible to make an integration of these modules?

Comments

Jerome F’s picture

I posted an issue in Phone Number queue as well : http://drupal.org/node/1116594

kaizerking’s picture

Now that the cck_phone and phone are merged,it will be good to have Phonemodule integration with location. as work is going on in full swing this will be right time to find ways and means for the integration so that there will not be any obstacles in the future if at all the integration is going to happen.
@gerome, could you please change the issue name from 'phone number' to phone, as all the functionality of phone number(cck_phone) has been merged in to 'phone'
I have posted this in phone issue ques to stir discussion Integrate phone with location as as plugin

podarok’s picture

Version: 7.x-4.x-dev » 7.x-3.x-dev

feel free to post patch against 7.x-3.x-dev release

ericwongcm’s picture

Issue summary: View changes

Does anyone notice that the current phone/fax fields are configured as textfields rather than integer?
I think the first step towards phone number validation is probably to make this simple change to make sure user can't type characters as phone numbers?

ericwongcm’s picture

I came across this idea for the phone number validation
"number validation to be dynamic based on the location country value"
https://drupal.org/node/730570

Specifying the country before phone number validation would probably result in faster and more accurate validation than using phone module set to international validation.