Open
Description
Inside a jquery-validated form I have a <a>
link which is used submit the form and regenerate a captcha image.
The logic on the link is like onclick="$(this).closest("form").submit()"
.
In our forms the client side validation now kicks in and does not allow the form submit.
I need something like the formnovalidate
or class="cancel"
mechanism, but atm this features are only implemented on elemtens matching :submit
. So this doesnt work for my <a>
.
Since this is a very basic re-usable component I cannot "just change the markup or js".
https://github.com/jzaefferer/jquery-validation/blob/master/src/core.js#L27