Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript validation for Symfony 2 forms [closed]

Does exist Bundle which allows generate JavaScript equivalent to validators of Symfony 2 forms? I am looking for something similar to http://www.symfony-project.org/plugins/sfJqueryFormValidationPlugin

If not, is it possible to do such thing for Symfony 2?

like image 485
66Ton99 Avatar asked Mar 21 '12 18:03

66Ton99


2 Answers

This is new Symfony 2 bundle which provide better implementation of client side validation for forms https://github.com/formapro/JsFormValidatorBundle

like image 87
66Ton99 Avatar answered Oct 23 '22 08:10

66Ton99


This bundle may suit your needs APYJsFormValidationBundle

However it is currently limited to assert defined constraints, applied to entities.

Support for php, yml and xml defined constraints are on the todo list.

like image 3
MadManMonty Avatar answered Oct 23 '22 09:10

MadManMonty