Page 1 of 1

Inserting only mobile phone number in an telephone editbox

Posted: Thu Jul 13, 2017 9:21 pm
by Aris
Hi.

I have a form in which there is an editbox with label: telephone.

I would wish the user to insert only his/her mobile phone number which begins with the prefix 69....

I must do?

Thank you.

Re: Inserting only mobile phone number in an telephone editbox

Posted: Thu Jul 13, 2017 9:41 pm
by BaconFries
What you are looking for is telephone number validation. See the following URL although it is to validate us numbers the principal is the same but you will need to modify to suit your needs.
https://stackoverflow.com/questions/977 ... ne-numbers

Re: Inserting only mobile phone number in an telephone editbox

Posted: Sat Jul 15, 2017 5:17 pm
by Aris
Thank you BaconFries!

I found a very good solution in this web site.

Aris