title: Validating multiple textboxes using JqueryValidation in MVC
body: <p>Iam rendering partial a view twice on the same parent view.Since each child view has 1 textbox each I have 2 textboxes. Iam trying to use JqueryValidation Plugin as in</p>
  
  <pre><code>$("#form0").validate({ 
      rules: {
      Address&lt;%=Model.TypeName%&gt;: { 
              required: true, 
              minLength: 8 
  
          } }, 
      messages: {
  
      Address&lt;%=Model.TypeName%&gt;: : { 
              required: "Please enter an address", 
              minLength: "Your address must consist of at least 8 characters" 
  
          } 
      } 
  </code></pre>
  
  <p>I have two Model.TypeNames , 1) student, 2) parent.</p>
  
  <p>When I try to validate both the textboxes( 1 for student, 1 for parent) , only the 1st one works. the second one doesnot validate. Any ideas/suggestions to make the validation work for both the textboxes would be highly appreciated.</p>