first commit
This commit is contained in:
3
public/bower_components/jquery-validation/src/additional/ziprange.js
vendored
Normal file
3
public/bower_components/jquery-validation/src/additional/ziprange.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
$.validator.addMethod( "ziprange", function( value, element ) {
|
||||
return this.optional( element ) || /^90[2-5]\d\{2\}-\d{4}$/.test( value );
|
||||
}, "Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx" );
|
||||
Reference in New Issue
Block a user