Hey All,
Has anyone been successful in finding a solution to validate phone numbers?
Can you point me in the right direction?
Thanks
*This post is locked for comments
Hello,
You can use java script please check there are many samples:
srmscrm.wordpress.com/.../validate-phone-number-field-in-ms-crm
crmbusiness.wordpress.com/.../crm-20132011-regex-for-javascript-mobile-phone-validation
www.powerobjects.com/.../formatting-a-phone-field-in-crm-2013
Hi HIMBAP,
Thank you for your reply, I have had a look at those already, and I have implemented them. But, they are not really what im looking for. I came across,
http://www.phoneformat.com/
It looks really good, but im not sure how to add it to crm online.
Have got an idea , how this would be done?
Never used it, but it seems it's JS libraries so you should be able to use them after uploading in CRM as java script web resources.
Hello AlanCRM22,
Simply add the JS file/files as Web Resources in your Solution and publish them:
Then open form properties and add them to the form libraries:
Then on field properties, add your function to OnChange event :
Hope this helps,
Abed.
Hi Abed, Thanks for the steps, but what function do I call that is in the phoneFormat.js file?
Hi,
If you will check the site there are function details, with the parameter so you can call them and send required parameters.
Hey,
Thanks , i have create web resources for all the files in the lib folder(global-wrap-end, global-wrap-start, google-libraries, phone-format-interface) and I have create a web resource for phoneFormat.js.
which phone number?
Mobile or landline
I'm not getting where you are finding this file phoneFormat.js
can you locate me proper location ?
in below link
Hi CRM22,
I have a similar requirement in the current project where we have to validate international phone numbers based on the country code. Unfortunaltely, the link http://www.phoneformat.com/ no longer works. Could you please share your JS file or point me to right direction to implement this in crm online. Any help is much appreciated.
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
HR-09070029-0 2
UllrSki 2