title: Jquery Validator Plugin - Check Multiple Fields
body: <p>I have a form which has multiple select boxes for ski tuition, all of which default to 0. I want the form to fail validation if ALL the select boxes are 0 when the user submits the form. I may have missed something obvious, but I am struggling to find a way to work this.</p>
  
  <pre><code>&lt;table class="meetandgreet"&gt;
            &lt;form id="tuition"&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;1:1 Tuition @ &amp;pound;40 per hour&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="one2one"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;      
                  &lt;option value="2"&gt;2&lt;/option&gt;      
                  &lt;option value="3"&gt;3&lt;/option&gt;      
                  &lt;option value="4"&gt;4&lt;/option&gt;      
                  &lt;option value="5"&gt;5&lt;/option&gt;      
                  &lt;option value="6"&gt;6&lt;/option&gt;  
                  &lt;option value="7"&gt;7&lt;/option&gt;  
                  &lt;option value="8"&gt;8&lt;/option&gt;  
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;1:2 Tuition @ &amp;pound;55 per hour&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="two2one"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;          
                  &lt;option value="2"&gt;2&lt;/option&gt;      
                  &lt;option value="3"&gt;3&lt;/option&gt;  
                  &lt;option value="4"&gt;4&lt;/option&gt;  
                  &lt;option value="5"&gt;5&lt;/option&gt;  
                  &lt;option value="6"&gt;6&lt;/option&gt;      
                  &lt;option value="7"&gt;7&lt;/option&gt;      
                  &lt;option value="8"&gt;8&lt;/option&gt;      
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;1:3 Tuition @ &amp;pound;63 per hour&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="three2one"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;  
                  &lt;option value="1"&gt;1&lt;/option&gt;          
                  &lt;option value="2"&gt;2&lt;/option&gt;          
                  &lt;option value="3"&gt;3&lt;/option&gt;          
                  &lt;option value="4"&gt;4&lt;/option&gt;      
                  &lt;option value="5"&gt;5&lt;/option&gt;      
                  &lt;option value="6"&gt;6&lt;/option&gt;  
                  &lt;option value="7"&gt;7&lt;/option&gt;  
                  &lt;option value="8"&gt;8&lt;/option&gt;  
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;1:4 Tuition @ &amp;pound;70 per hour&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="four2one"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;      
                  &lt;option value="2"&gt;2&lt;/option&gt;  
                  &lt;option value="3"&gt;3&lt;/option&gt;  
                  &lt;option value="4"&gt;4&lt;/option&gt;  
                  &lt;option value="5"&gt;5&lt;/option&gt;      
                  &lt;option value="6"&gt;6&lt;/option&gt;      
                  &lt;option value="7"&gt;7&lt;/option&gt;      
                  &lt;option value="8"&gt;8&lt;/option&gt;
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;Full Day (5 hours, up to 4 people) @ &amp;pound;250&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="fullday"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;      
                  &lt;option value="2"&gt;2&lt;/option&gt;  
                  &lt;option value="3"&gt;3&lt;/option&gt;
                  &lt;option value="4"&gt;4&lt;/option&gt;  
                  &lt;option value="5"&gt;5&lt;/option&gt;  
                  &lt;option value="6"&gt;6&lt;/option&gt;
                  &lt;option value="7"&gt;7&lt;/option&gt;      
                  &lt;option value="8"&gt;8&lt;/option&gt;  
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td class="col1"&gt;Full Week (5 hours x 5 days, up to 4 people) @ &amp;pound;999&lt;/td&gt;
              &lt;td class="col2"&gt;
                &lt;select name="fullweek"&gt;
                  &lt;option value="0"&gt;0&lt;/option&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;      
                  &lt;option value="2"&gt;2&lt;/option&gt; 
                  &lt;option value="3"&gt;3&lt;/option&gt;  
                  &lt;option value="4"&gt;4&lt;/option&gt;
                  &lt;option value="5"&gt;5&lt;/option&gt;  
                  &lt;option value="6"&gt;6&lt;/option&gt;  
                  &lt;option value="7"&gt;7&lt;/option&gt;  
                  &lt;option value="8"&gt;8&lt;/option&gt;
                  &lt;option value="9"&gt;9&lt;/option&gt;
                                          &lt;/select&gt;
              &lt;/td&gt;
              &lt;td class="col3"&gt;&amp;pound;0&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td&gt;&lt;/td&gt;
              &lt;td class="col2"&gt;Total:&lt;/td&gt;
              &lt;td class="col3"&gt;£&lt;span&gt;0&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td&gt;&amp;nbsp;&lt;/td&gt;
              &lt;td colspan="2"&gt;&lt;input type="image" src="../Images/Buttons/adults_94x25_add_extras.png" style="margin-top:10px;" /&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;/form&gt;
          &lt;/table&gt;
  </code></pre>
  
  <p>I am using the jquery validator plugin, which I have used fine on many other forms, but in all of those cases I have been validating a field at a time, and never had a situation where the validation of one field is dependent on the value of others.</p>
  
  <p>So, to summarise, the form needs to be invalid if all fields have a value of 0.</p>
  
  <p>Thanks!</p>
  
  <p>PS   I've not included the jquery code as there's nothing really to show apart from the standard validator stuff</p>