Closed (duplicate)
Project:
Phone
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2011 at 17:08 UTC
Updated:
3 May 2017 at 01:48 UTC
Jump to comment: Most recent
When entering a phone number for the first time in a node, the "Add the country code if not filled by the user" works fine. But every time you get back editing the node it incrementally adds a new country code before the already added before code. Instead it should check whether the country code is already given.
I'm using the latest module in a Phone Number field set to "Italian".
Comments
Comment #1
dddbbb commentedSame issue for 6.x?: http://drupal.org/node/1039220
Comment #2
damienmckennaThis is being solved in #2186331: phone_field_presave() calls format_phone_number(), breaking input data integrity.