- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Community,
I would like to change the format of the Mobile phone (mobile_phone) field in the User [sys_user] table.
Currently, the phone numbers are displayed in the following format:
Example: 1(449) 260-6439
However, I would like the numbers to be displayed and stored in a simple numeric format like:
Example: 06212348725
Requirement:
I want the Mobile phone number to:
Be displayed exactly as entered
Not automatically formatted with country code, parentheses, or dashes
Use a plain numeric format (example: 06212348725)
Althout i have disable the sys properties for us format but u still have the probleme :
Sys_properties : glide.ui.format_phone
Thank you for help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Resolution
For the old "Phone Number" data type
The phone number format for this field is controlled by a client script. By default, it only supports phone numbers in local format for some western countries.
Follow these steps to customize this script to show the phone number in the local format of your own country.
For example, users in Japan enter "334561234" in the field and hope it will be converted to "(03) 3456-1234" in Japan local format automatically.
Steps:
- Navigate to the sys_ui_script.list table
- Create a new UI script record with this information:
- API Name = formatting.js (Or any preferred name)
- UI Type = Desktop
- Active = true
- Open this client script copy it into the newly created record:
Script :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
that docs link is not opening for me
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
what you want me to check?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar they speak about E164 Configuration phone number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I already shared my thoughts
-> this is OOTB behavior for phone number field type
-> you should not change this
-> please inform your customer about this
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

