<pseudocode>

rules : {
     thisField : {
          depends: function(element) {
               return $('#thatField').length == 0;
          }
     }
     thatField : {
          depends: function(element) {
               return $('#thisField').length == 0;
          }
     }
}

</pseudocode>

Check the plugin docs for more info.

http://docs.jquery.com/Plugins/Validation/

Reply via email to