To see more custom methods go to 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
On May 23, 9:39 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> You can do that with a custom
> method:h
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 1
2 matches
Mail list logo