Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR = La longitud máxima son 20 digitos.
- $.validator.addMethod('msis', function (value, element) {
- var result = false, m, regex1 = /^d{1,20}$/;
- if(regex1.test(value))
- result = true;
- return result;
- }, 'Formato invalido. ');
Add Comment
Please, Sign In to add comment