addMethod goes /outside/ of your document.ready() functionality. Just figured that one out myself. :-)
<script type="text/javascript"> $.validator.methods.equal = function(value, element, param) { return value == param; }; $(function() { $validator = $("#myform").validate({ rules: { etc etc On Mar 28, 8:29 am, "Priest, James (NIH/NIEHS) [C]" <[EMAIL PROTECTED]> wrote: > > It could be related to a different issue that I solved > > recently. Could > > you give the latest revision a try? > >http://dev.jquery.com/view/trunk/plugins/validate/ > > I grabbed the latest version and still no luck... A few dumb questions: > > Where do I place the addMethod: > > <script> > $().ready(function() { > > == here? == > > $("#frmtelework").validate({ > > == or here? == > > rules: {} > });}); > > </script> > > And I'm assuming that if my addMethod check failed - it would flag that > field with the error I defined "You must read and agree to the terms and > conditions before proceeding."? > > $.validator.addMethod("checkyesno", function(value) { > if (value == 'Yes') { > return true; > } else { > return false; > } > }, "You must read and agree to the terms and conditions before > proceeding."); > > Thanks for the help!!! > Jim