Phone number validation

Hi everyone, i just wanna put phone number validation into my interface. The field should take only numbers & length should be 10 digits. Can any one help me out.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Also, just a quick thought, if your application will be used across indian origin only, then this validation will work fine for you.

    But if your application will be used across multiple countries, then this validation won't work for you, because number of digits for a valid mobile number varies from country to country.

    Hence, if it's the case,. Your rule must be dynamic and configurable.
Reply
  • 0
    Certified Lead Developer
    Also, just a quick thought, if your application will be used across indian origin only, then this validation will work fine for you.

    But if your application will be used across multiple countries, then this validation won't work for you, because number of digits for a valid mobile number varies from country to country.

    Hence, if it's the case,. Your rule must be dynamic and configurable.
Children
No Data