The Australian telephone number format displays as just numbers without spaces and no formatting. For example, 12345678901234. This is based on the mobile device's localization information. If you would prefer to display the telephone number using the GP formatting (12 3456 7890 ext:1234), you can update the k2aMethods.js file in Offline HTML.
For a 14-digit phone number, if the last four digits of the extension are 0000, these last 4 digits will be removed.
To use the GP Australia formatting XX XXXX XXXX ext:XXXX:
- In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard.
- Enter the Email and Password and select Log in.
- In the left navigation, select Woodford.
- Open the MobileTech Woodford project.
- Navigate to the Offline HTML tab on the left panel.
- Double-click scripts.
- Select k2aMethods.js and then select Edit from the menu bar.
- There are two functions that you will need to both comment out the section for no formatting, then uncomment out the section for GP formatting.
- function formatPhone(numStr) - This determines how the phone number is displayed in lists.
- function maskPhone(e) - This determines how the phone number is displayed in form inputs.
- Select Save in the Edit window.
- Select Save from the menu bar.
- Publish the project.