first commit
This commit is contained in:
6
plugins/jquery-validation/additional/giroaccountNL.js
vendored
Normal file
6
plugins/jquery-validation/additional/giroaccountNL.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Dutch giro account numbers (not bank numbers) have max 7 digits
|
||||
*/
|
||||
$.validator.addMethod( "giroaccountNL", function( value, element ) {
|
||||
return this.optional( element ) || /^[0-9]{1,7}$/.test( value );
|
||||
}, "Please specify a valid giro account number" );
|
||||
Reference in New Issue
Block a user