first commit
This commit is contained in:
4
public/bower_components/jquery-validation/src/additional/postalcodeIT.js
vendored
Normal file
4
public/bower_components/jquery-validation/src/additional/postalcodeIT.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/* Matches Italian postcode (CAP) */
|
||||
$.validator.addMethod( "postalcodeIT", function( value, element ) {
|
||||
return this.optional( element ) || /^\d{5}$/.test( value );
|
||||
}, "Please specify a valid postal code" );
|
||||
Reference in New Issue
Block a user