If you set a field type to be phone number and select Australia for default country, people will usually put their mobile phone number starting with 04 and the following 8 digits. The form builder however doesn’t like a leading zero and only wants to accept 9 digits so the user will type the leading zero and by 7th digit they will use up the 9 accepted digits so most of the phone numbers stored in data base are missing the last digit.
The phone number validation should either immediately remove the leading zero as it is entered or accept either 10 or 9 digits (10 digits if there is a leading zero and 9 digits if there isn’t) and at the time of saving to database remove the leading zero.
The 0 at the start of an Australian mobile number (e.g. 0412 345 678) is a “trunk prefix” — it just tells the phone network “this is a domestic call.”
The +61 country code already does that job for international formatting, so it replaces the 0 rather than sitting alongside it.
So, the feature is working correctly in the widget and you just need to drop the leading zero if the country code is already added. Here is an example: 0412 345 678 → +61 412 345 678.
Let me know if this clears things up or if you have any questions left
Try entering the 0412345678 and you will see that the form will stop accepting the number after you enter 7. You can’t enter the last digit unless you entered the number without the leading zero.