Daemach, Wait for the next release for Jorn's Form Validation plugin. Could be a conditional validation to help us, yeahhh Jorn??? ;-)
Cheers 2007/3/5, Daemach <[EMAIL PROTECTED]>:
I need a way to make a field required based on some other condition. Consider the case of a multi-select for "Job Type": Baker Janitor Fisherman ... Other (please describe) If someone selects "other" the description field should be required, otherwise it's hidden. {required:function(){return some code that returns true or false}} should work. On that note, what happens if you have spaces in the function ( and you must in most cases ) and this metadata block resides in a class attribute? Expandos are your friend... -- View this message in context: http://www.nabble.com/Conditional-validation---validator-plugin.-tf3349703.html#a9314278 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/