formapro/JsFormValidatorBundle — pull request #19 by dpsjorge (2014-02-20 05:05:08+00:00)
Title: Update fp_js_validator.js

The correct code

* FpJsFormValidator.js and fp_js_validator.js (line 697):
In Symfony 2.4.1, the form id (FormTypeInterface::getName) is passed to the div that contains the fields instead of the form. The .jsFormValidator attribute is created on the div, but is not passed to the form, which is the DOM parent node of the div, so the client validation never runs because .jsFormValidator doesn't exist (see lines 779 of both files).