Hello Team
I wanted to create a business rule where my phone number cannot contain any alphacharacters.
I am trying to create this business rule , is there any way to mention the values at a time instead of mentionin the multiple OR conditions.
For ex. For this logic I am mentionin like
If phone number contains A, or if Phone number contains B or .....
I am expecting some ting like if Phone number contains A, B, C
Can something similar to this be achieved in Crm.Any help or guidance is highly appreciated.
Thanks
*This post is locked for comments
I have the same question (0)Hi,
Instead of business rule you can achieve this using JavaScript.
using regular expression you can check is there any alphabets in phone number field and you can remove those.
if you are using CRM 2016, then you can use KeyPress methods to remove alphabets.
here is example
mahadeomatre.blogspot.com/.../keypress-methods-in-ms-crm-2016.html
If you are using older version of CRM then write javascript on phone attribute onChange and remove alphabets.
Hope this will help..