SOLVED

Phone Number Format

Go to solution
Ana_Kvesic
Level 1

Phone Number Format

Hi guys, 

Is it possible to format the number in the following way:

  • All phone numbers must start with +
  • The first number after + cannot be 0 (valid numbers are from 1 to 9)
  • There must be at least one number after the first number
  • All other symbols are invalid
  • Example of the valid number: +1234567 and +12345678

I am aware of the mask input and I know I can put +99999999, the problem is that not all phone numbers have the same number of characters, and with mask input, if I put +99999999 it will accept only 9 characters. So, mask input won't work for me.

Thanks!

 

Ana Kvesic
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Phone Number Format

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Phone Number Format

Ana_Kvesic
Level 1

Re: Phone Number Format

Thanks a lot, this worked fine. 

Ana Kvesic