Notifications
Announcements
No record found.
I have the requirement for phone number format in crm. the user wants a Europe format.
*This post is locked for comments
There are different phone number formats in Europe - are they wanting all European formats to work, and no non-European ones to work? Are they wanting to match it to country?
If you're on v9 Online and using the Unified Interface, you can set field masks, but to my knowledge they can't be conditional (i.e. if country = X then this format, if country = Y that format, etc...). If you need that level of logic, or aren't using the Unified Interface, you'd need to write this in Javascript. Some examples (some CRM specific, and some just about general formatting/parsing) are:
community.dynamics.com/.../244975
social.microsoft.com/.../dynamics-crm-2011-uk-phone-number-javascript-validation
blog.stevenlevithan.com/.../validate-phone-number
and a library that you may be able to leverage:
github.com/.../libphonenumber
+44(20)7183-8750 this the format i need.
If it's just one format, that certainly makes things easier. So yes, you could definitely do that with a field mask if you're in Online and using Unified Interface. Otherwise, the javascript examples above are still applicable with slight adaptation for your specific format. If it's a single format you wouldn't need the added complexity of using the library or anything - something more simple like in the answers of the first post would work just fine.
Please take as reference following links
www.powerobjects.com/.../formatting-a-phone-field-in-crm-2013
Refer here
How to format a phone number in Dynamic 365 crm
How to validate mobile with country code in Dynamic CRM
How to validate mobile number in Dynamic CRM
Remove comma from number fields in Dynamic 365 CRM
Hello Varma,
To change the Phone number format in CRM for Europe user.
You can refer this blog.
Thanks but tour blog refers to the same kind of article where you can set only one format. In Europe there are different format and different number of digits (ex Belgium 9 vs France 10).
How to deal with this in 2023 ? Still not possible ?
Hi Victor / Bonjour :)
You can use this PCF : pcf.gallery/.../
thanks, I'll investigate this ! looks very good.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2