On my MVC project I have a View with 2 forms.
I validate the forms using jquery validation.
How can I validate 2 forms on submit of one of them?
I tried that:
$(function () {
     $("#form1").validate();
     $("#form2").validate();
     $.extend($.validator.messages, { required: "*", email: "Invalid email address." })
});
But only the second form gets validate but the first one don't, any idea on how to solve that?
 
     
    