I'm not able to validate a zip code that the user has typed.
I added the following code inside the jquery.validete.js
jQuery.validator.addMethod("cep", function(value, element) {
return this.optional(element) || /^[0-9]{2}.[0-9]{3}-[0-9]{3}$/.test(value);
}, "Por favor, digite um CEP válido");
But if I type: 11.111-111 it accepts, when in fact this zip code does not exist.