Total members 11893 |It is currently Mon Nov 04, 2024 11:12 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Hello Friends,
Here is a post for Zip code Validation

Zip code : Zip code should be atleast 3 & atmost 10 charcters only , should be alphanumeric & should accept dash(-).

Golden Regards,
Eluminous Support Team
eLuminous Technologies




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

The following Java Script validates the US Zip Code. It validates the US Zip Code which Should be in 5 digit Format or Zip + 4 Format.
function funcValidateUSZip( strValue ) {
var MyRegExp = /(^\d{5}$)|(^\d{5}-\d{4}$)/;
//check for valid US Zipcode
return MyRegExp.test(strValue);
}


Author:
Newbie
User avatar Posts: 29
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : What will be validation for Zip code ?
 US Zip Code Validation     -  
 Weka java code for Random Forest Cross Validation     -  
 DNS Validation     -  
 XML validation against DTD     -  
 validation using JavaScript     -  
 Validation using Ajax     -  
 validation on number     -  
 date validation in asp     -  
 Email validation in Javascript     -  
 Form Validation Problem     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com