I'm using the jQuery validation plugin. When I click the 'My btn' button the form needs to submit without validation. Even if the title
is empty it should be able submit by only clicking the 'My btn' button. Is there any way to do this?
<form class="callBkfrm" method="POST" action="/my_action">
<input type="text" name="title" />
<button class='btn' type="button">My btn</button>
<button type="submit">Submit</button>
</form>
$(".myFrm").validate({
rules: {
title: {
required: true
},
}
});