-6
I’m with making a record that I need verification prints an error if any of the options are changed.
My code:
$(document).ready(function(){
$("#concluir").validate({
rules:{
usuario: {
required: true,
minlength: 6,
maxlength: 14,
nowhitespace: true,
alphanumeric: true
},
email: {
required: true,
email: true
},
senha: {
required: true,
minlength: 6,
maxlength: 14
},
rsenha: {
required: true,
equalTo: "#senhaa"
},
nome: {
required: true,
minlength: 6,
maxlength: 14,
nowhitespace: true,
alphanumeric: true
},
submitHandler: function(form) {
alert("Cadastrado com Sucesso!")
form.submit()
}
}
})
})
Dude, try to be more clear on your question, specify what you’re doing, and enter a code that you can perform the tests.
– Deividson Oliveira
What is that? I’ve never seen that kind of question '-'
– Matheus Miranda