Details
-
Type: New Feature
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.0.0
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
Description
civicrm_country contains already country_code to put the phone prefix of the country.
I'd be great to use it, for instance:
on blur the phone field and the country is set to UK, verify if the phone starts with 0044 or +44
if the country is not set and the phone number starts with 0044 or +44, set the country to UK.
have a bin/updatePhone that does it automatically.
First step, populating this country_code is done (attached)