Skip to main content

Hi, how can I leave a message after input?

or under the label

the message is overlapping

image


I’m using jquery to do a custom validation

follow my code below:


<script>

$(document).ready(function() {
$('form').validate({
rules: {
nome_completo: {
maxlength: 10,
minlength: 5,
}
},
errorPlacement: function(error, element) {
error.insertBefore(element);
}
})
})

</script>

i tried using insertBefore but it didn’t work

Be the first to reply!

Reply