To see more custom methods go to <a href="http://www.thetruetribe.com/ 2008/05/how-to-use-jquery-plugin-validation.html">http:// www.thetruetribe.com/2008/05/how-to-use-jquery-plugin-validation.html</a>
On May 23, 9:39 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > You can do that with a custom > method:http://docs.jquery.com/Plugins/Validation/Validator/addMethod > > Untested: > jQuery.validator.addMethod("phone", function() { > return $("#mobile").val() || $("#work").val(); > > }, "Please specify either work or mobile phone number"); > > Jörn > > On Fri, May 23, 2008 at 12:12 AM, TiGeRWooD <[EMAIL PROTECTED]> wrote: > > > Hi, is it possible with jquery validate to check 2 fields but only 1 > > of these 2 fields would be required ... > > one or the other ... > > > I would have at least one phone number of client (work or mobile phone > > number) ... > > > Thanks for your help ...