Created
August 3, 2013 01:36
-
-
Save farandal/6144704 to your computer and use it in GitHub Desktop.
//Integración validador de RUT para JQuery validator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Integración validador de RUT para JQuery validator | |
$.validator.addMethod("rut", function(value, element) { | |
return this.optional(element) || $.Rut.validar(value); | |
}, "Este campo debe ser un rut valido."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment