Created
December 2, 2009 11:55
-
-
Save aguimaraes/247163 to your computer and use it in GitHub Desktop.
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
$("#addform").validate({ | |
rules: { | |
username: { | |
required: true, | |
minLength: 3, | |
maxLength: 32 | |
} | |
}, | |
messages: { | |
username: { | |
required: "O nome do usuário é obrigatório", | |
minLength: "Mínimo de 3 caracteres.", | |
maxLength: "Máximo de 32 caracteres." | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment