Active
Project:
Phone
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2007 at 23:47 UTC
Updated:
7 Mar 2009 at 13:18 UTC
Can't the phone field auto-detect the country by looking at the phone number that is entered? if you required the country code? I'm dealing with an international site that I need phone number input on.
At the very least, you should not have separate fields for each country. Widget settings are content type (instance) dependent, and field settings handle all instances. The right thing to do would be to provide those as radio button options inside the widget_settings() form so you only need to create one field_phone and can change the type of phone number per-node.
Comments
Comment #1
scottrigby+1 ...this would make it a much more widely useful cck field ;)
Comment #2
japanitrat commentedsub
Comment #3
scottrigbyMarked #323424: Why not just a general phone field? & #365689: Why Does this only Validate for North American Numbers? as duplicates of this issue.
Comment #4
cbovard commentedsubscribing
Comment #5
KrisBulman commented+1
Comment #6
asak commentedAnd there is this http://drupal.org/node/212317 ...
So what would be the way to go for a generic international solution?