problem with JQuery Validate

problem with JQuery Validate

Hi everyone ...

I was using Jquery Validate Plugin to validate forms in my web app. The situation is that I have many forms which have a class called 'formulario-Ingreso' each ... That is

  1. <form class='formulario-Ingreso' id='f1' name='f1' method='POST'>
  2. <!-- Some inputs inside -->
  3. </form>

  4. <form class='formulario-Ingreso' id='f2' name='f2' method='POST'>
  5. <!-- Some inputs inside -->
  6. </form>

  7. <form class='formulario-Ingreso' id='f3' name='f3' method='POST'>
  8. <!-- Some inputs inside -->
  9. </form>

and the javascript that validate forms is

  1. $(document).ready(function(){
  2.       $('.formulario-Ingreso').validate();
  3. })
But I realized, in fact, that only the first form is validated (#f1), and the others aren't.

Why happen this??

Jony