Skip to main content

Validation includes:

1. Check if mobile number is valid number by checking the digits (e.g., 10 digits for India mobile number)

2. Get the country code based on mobile number entered.

3. Number type, whether a number is mobile number, fixed-line or toll-free.

2 answers
  1. Mar 14, 2022, 5:13 AM

    I agree with @Amey Priolkar that this can all be achieved with OOTB functionality.

     

    1. Write validation rules with REGEX to enforce the formatting of the entered phone number on creating/editing of a record.
    2. Record triggered flows can also be used to trim and append the mobile and landlines with e.g +91 = India +61 =  Australia

    If you have the specific countries I can help with the REGEX like that below.

     

    AND(

    NOT(ISBLANK(Phone)),

    NOT(REGEX(Phone,"[+91]{3}[1-9]{1}[0-9]{9}"))

    )

0/9000