web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Validating Phone Numbers

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
  • Community Member Profile Picture
    on at
    RE: Validating Phone Numbers

    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?

    Thanks

  • Mahendar Pal Profile Picture
    45,095 on at
    RE: Validating Phone Numbers

    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.

  • Suggested answer
    Abed Haniyah Profile Picture
    4,287 on at
    RE: Validating Phone Numbers

    Hello AlanCRM22,

    Simply add the JS file/files as Web Resources in your Solution and publish them:

    7026.2.png

    Then open form properties and add them to the form libraries:

    7026.2.png

    Then on field properties, add your function to OnChange event :

     1731.3.png

    Hope this helps,

    Abed.

  • Community Member Profile Picture
    on at
    RE: Validating Phone Numbers

    Hi Abed, Thanks for the steps, but what function do I call that is in the phoneFormat.js file?

  • Mahendar Pal Profile Picture
    45,095 on at
    RE: Validating Phone Numbers

    Hi,

    If you will check the site there are function details, with the parameter so you can call them and send required parameters.

    Thanks

  • Community Member Profile Picture
    on at
    RE: Validating Phone Numbers

    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.

  • SOUNDHARYA.N.V Profile Picture
    165 on at
    RE: Validating Phone Numbers

    which phone number?

    Mobile or landline

  • Alok Sharma Profile Picture
    340 on at
    RE: Validating Phone Numbers

    Hi,

    I'm not getting where you are finding this file phoneFormat.js

    can you locate me proper location ?

    in below link

    http://www.phoneformat.com/

  • Community Member Profile Picture
    on at
    RE: Validating Phone Numbers

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans