seperate validation of two forms with jquery
<p>I have two forms in one page and i would like to validate each form seperatly DEPENDING on what the user fills. So basically the user must fill only ONE form and NOT both of them...SO basically if the user fills up form number 1, the validation will be on form 1 ONLY..</p>

<p>Below please find the code of both forms:</p>

<pre><code>    &lt;form action="/registration.flow" method="post"  id="formElem1"  name="formElem1" autocomplete='off'&gt;
  &lt;label for="Name_First"&gt;First Name:&lt;/label&gt;
  &lt;input type="text" name="Name_First" id="Name_First" value="" class="required" maxlength="128"  /&gt;
  &lt;label for="Name_Last"&gt;Last Name:&lt;/label&gt;
  &lt;input type="text" name="Name_Last" id="Name_Last" value="" class="required" maxlength="128" /&gt;

  &lt;button id="registerButton" type="submit"&gt;Register&lt;/button&gt;
&lt;/form&gt;


&lt;form action="/registration.flow" method="post"  id="formElem2"  name="formElem2" autocomplete='off'&gt;
  &lt;label for="Name_First"&gt;First Name:&lt;/label&gt;
  &lt;input type="text" name="Name_First" id="Name_First" value="" class="required" maxlength="128"  /&gt;
  &lt;label for="Name_Last"&gt;Last Name:&lt;/label&gt;
  &lt;input type="text" name="Name_Last" id="Name_Last" value="" class="required" maxlength="128" /&gt;

   &lt;button id="registerButton" type="submit"&gt;Register&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>Can someone help me please?? THANKS</p>
