I'm new to symfony 2 and i'm trying to build a standard form which should be validated by the server and by the navigator.
Server-side validation works fine with assertions like @Assert\... but i cannot find a way to get this working on client side.
After searching, i pointed out that Symfony 2 does not have a javascript library to manage this..
So my question is : What's the easiest way to do this ?
I know the possibility of using client side library like jQuery Validation plugin or something like Regula, but that would means that i have to duplicate my validations rules..
@Assertinto regula validation-constraints. Would take some work from your side, but it is a direction that you could go. :)