<script> $(document).ready(function(){ $("#sign-up").validate({ errorPlacement: function(error, element) { error.appendTo("label[for="+$(element).attr('id')+"]"); }, errorElement: "em" }); $('form').removeAttr('novalidate'); }); </script>