Subject: | Does not work correctly with HTML::FormHandler::Widget::Theme::BootstrapFormMessages |
For an example see: http://formhandler-perl.dotcloud.com/examples/order
Fill out the form, but use (for instance) an invalid exp (like cc#
44444444444444444 and exp 0315) so it will pass the JQueryValidation but
still fail the actual validation when the request gets sent. It will
submit the form, and return the errors and show the messages in the form.
At this point if you change any field (say, make first name blank) and
submit, JQueryValidator does not get run and the form is instead submitted
and then validated, whereas if you were to leave the name blank on the
initial page load (when there are no BootstrapMessages to be shown) JQuery
Validator correctly handles the validation.