title: How to validate Symfony 2 form on client side (javascript)
body: <p>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.</p>
  
  <p>Server-side validation works fine with assertions like <code>@Assert\...</code> but i cannot find a way to get this working on client side.</p>
  
  <p>After searching, i pointed out that Symfony 2 does not have a <code>javascript</code> library to manage this..</p>
  
  <p>So my question is : What's the easiest way to do this ?</p>
  
  <p>I know the possibility of using client side library like <code>jQuery Validation</code> plugin or something like <a href="https://github.com/vivin/regula" rel="nofollow">Regula</a>, but that would means that i have to duplicate my validations rules..</p>