I am new to symfony 2 and I am trying to create a standard form that needs to be verified by the server and navigator.
Server-side validation works fine with statements like @Assert\... , but I cannot find a way to make this work on the client side.
After searching, I pointed out that Symfony 2 does not have a javascript library to manage this ..
So my question is: what is the easiest way to do this?
I know that you can use a client-side library, like the jQuery Validation plugin or something like Regula , but that means that I have to duplicate my validation rules.
source share