[jQuery] Validation: Form with multiple submit buttons having different validation rules

[jQuery] Validation: Form with multiple submit buttons having different validation rules


Hi all,
I tried searching for similar issues but couldn't find a satisfying
answer. So posting it here.
I have a form with multiple fieldsets which are visible conditionally.
There are three submit buttons "Abandon", "Save" and "Save &
Continue". Each button should validate specific controls of the form
and submit it.
I tried setting "onsubmit: false" and checking for "$('#myForm').valid
()" on click of these buttons., but that validates all controls of the
form. Can someone suggest me what I should do?