APYJsFormValidationBundle
APYJsFormValidationBundle copied to clipboard
This bundle performs validations of a form in javascript. (i18n compatible and several javascript frameworks supported)
GitHub changed the way Markdown headings are parsed, so this change fixes it. See [bryant1410/readmesfix](https://github.com/bryant1410/readmesfix) for more information. Tackles bryant1410/readmesfix#1
JSFV uses the same error messages as the Symfony constraints. So it appears only natural to me to use the same placeholder marks. However, jsfv.getComputeMessage() always sets these marks to...
Example without translation support. ``` {{ JSFV(form) }} {{ form_widget(form) }} ``` But we have to keep the compute message function.
Autoload the javascript framework if it's not load previously.
We have to provide support of UniqueEntity validation for the case when multiple-column are set `@UniqueEntity(fields={"field1", "field2", "fieldN"})`: ``` php
We should provide cross-framework support for these: [Resources/views/Constraints/UniqueEntityValidator.js.twig](https://github.com/Abhoryo/APYJsFormValidationBundle/blob/master/Resources/views/Constraints/UniqueEntityValidator.js.twig) [Resources/views/Constraints/EmailValidator.js.twig](https://github.com/Abhoryo/APYJsFormValidationBundle/blob/master/Resources/views/Constraints/EmailValidator.js.twig)