Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Labels
Milestone
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 likeonclick="$(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 theformnovalidate
orclass="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