jzaefferer/jquery-validation — Issue #316: Bind 'submit' using .on doesn't stop the form to be submitted upon failed validation
Author: nicsoft
Created: 2012-02-10 16:42:34+00:00
State: open

I tried to use .on when binding the submit after loading the form dynamically. The form was validated properly but still it was posted even though validation failed.

Changing from

$("#send_message_form").on('submit', function(e){....});

to

$("#send_message_form").on('submit', function(e){....});

fixed the problem.

However, I assume that the validate plugin should work with .on as well.

Is this a confirmed bug or is it just not supposed to be supported (yet)?