Inserting only mobile phone number in an telephone editbox

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Inserting only mobile phone number in an telephone editbox

Post 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.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: Inserting only mobile phone number in an telephone editbox

Post 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
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Inserting only mobile phone number in an telephone editbox

Post by Aris »

Thank you BaconFries!

I found a very good solution in this web site.

Aris
Post Reply