Pin Code Validate Script

The PIN stands for Postal Index Number and the code is 6 digits long.In this Pin code validate Script is used to validate all type of Pin code address.

Demo :



Enter Pincode :  

Example :

Pincode : 638673

Code :

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


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

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

Free Download Script:

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

Download -->




Content