Hi ActraiserVII,
You could convert the country field to a dropdown and write a before_save logic hook to update the phone numbers.
See
this thread for how to convert the country field to dropdown.
The logic hook could be simple or complex depending on how much error checking and replacing you want to do. If you keep it simple like:
1. look for a '+' at the start of phone.
2. if missing add + and country code
3. if already a '+', parse to first space and replace old code with new
After that you can get as fancy as you like formatting and fixing the string, adding area codes, etc, but it starts to get complicated.
Of course you will need a table or dropdown that lists all the countries and their country code so you can look them up with a query.
Phil
Bookmarks