Validação de Lenght usando JQUEY Valisaton
jQuery.validator.addMethod("exactlength", function(value, element, param) {
return this.optional(element) || value.length == param;
}, $.validator.format("Please enter exactly {0} characters."));
Hurt Hamerkop