I\'ve seen many questions with variations on this theme, but I\'m looking for the straightforward solution:
HTML form, jQuery validation, multiple fields are required. W
I dont like all the jQuery extentions so here is my solution to this problem:
if ($('#MYID').valid()) { //dosomething(); } else { $('html, body').animate({ scrollTop: ($('.error').offset().top - 300) }, 2000); }