title: jQuery Validate plugin one field required, but not both
body: <p>I have a form that I'm validating with jQuery Validate plugin and I would like only one field to be filled out, while the other will have a 0 (zero) value.  However, it must be mandatory that one or the other be filled out.</p>
  
  <p>Here is my actual form:</p>
  
  <p><a href="https://i.stack.imgur.com/rwY42.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rwY42.png" alt="enter image description here"></a></p>
  
  <p>This is my form HTML:</p>
  
  <pre><code> &lt;div class="row"&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label&gt; &lt;span&gt;Amount to Player&lt;/span&gt;&lt;/label&gt;
                      &lt;input name="AmountToHorse" type="text" class="form-control"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label&gt; &lt;span&gt;Amount to Stable&lt;/span&gt;&lt;/label&gt;
                      &lt;input name="AmountToStable" type="text" class="form-control"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>This is my validation:</p>
  
  <pre><code>$('#reloadForm').validate({
                          rules: {
  
                              AmountToHorse: {
                                  required: true,
                                  number: true
                              },
                              AmountToStable: {
                                  required: true,
                                  number: true
                              },
                          }
                      });
  </code></pre>
  
  <p>Any clue on how to do that?</p>