[jQuery] Re: jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread clorentzen
Thank you! --Carl. On Mar 11, 7:54 am, Jörn Zaefferer wrote: > add if (this.optional(element)) return true; to the top. See any > existing validation method for an example, > orhttp://docs.jquery.com/Plugins/Validation/Validator/addMethod > > Jörn > > On Wed, Mar 11, 2009 at 12:43 PM, clorentz

[jQuery] Re: jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread Jörn Zaefferer
add if (this.optional(element)) return true; to the top. See any existing validation method for an example, or http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Wed, Mar 11, 2009 at 12:43 PM, clorentzen wrote: > > Hi -- > > I've got a contact form here > > http://www.dianlof