Phone Number validate

Sequence digits is called the telephone number or phone number. which is used to call from one phone line to another public telephone network .In this Phone Number validate Script is used to validate all type of Phone Number.

Demo :



Enter Phone Number :  

Example :

Phone Number : 09500669790

Code :

If you need to validate Phone Number for your website following code helpful to you.


function isPhoneNbr (evt)
{
  var charCode = (evt.which) ? evt.which : event.keyCode
  if (charCode != 32 && charCode != 43 && charCode != 8 && (charCode < 48 || charCode > 57))
  return false;
  return true;
}

In the above java script function is used to validate for phone number. This function have one argument that name is evt.When you type number in the text box this number will pass to isPhoneNbr() Predefined function through onKeypress().

Free Download Script:

If you need to Phone Number validate Script click and download from following zip file.

Download -->




Content