title: How to apply combination fields validation using jquery
body: <p>I my requirement form is generated dynamically. there are number of fields</p>
  
  <pre><code>&lt;tr&gt;    
      &lt;td &gt;Coding Guidelines&lt;/td&gt;
      &lt;td align="center"&gt;
       &lt;select name="SELECT_TASK_1" id="SELECT_TASK_1"&gt;
         &lt;option value=""&gt;Select&lt;/option&gt;
         &lt;option value="Y"&gt;Yes&lt;/option&gt;
         &lt;option value="N"&gt;No&lt;/option&gt;
       &lt;/select&gt;
     &lt;/td&gt;
     &lt;td align="center"&gt;&lt;input type="text" size="10" name="COMP_DATE_1"&gt;&lt;/td&gt;
    &lt;td align="left"&gt;&amp;nbsp;&lt;textarea name="COMMENT_TASK_1" id="COMMENT_TASK_1" 
               cols="45" rows="4"&gt;&lt;/textarea&gt;&lt;span id="COMMENT_ERROR_1" &gt; &lt;/span&gt;
     &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>there are number of TR generated base on DB rows. I want apply jquery validation on the combination of select No value and Comment field.</p>
  
  <p>That means if select is No then comment is mandatory field.</p>
  
  <p>Please help how to apply validation using Jquery validation plugin</p>