Hi Jörn, I'd like to use your plugin, and I was up to a point, but the problem I'm having is three-fold. I'm sure it can be solved with your plugin, and I'd love to know how;
1. This validation is for an admin system where the forms are automatically built, and there's no way to specify which generated fields have the class requirements, so I was addingthe calss {required:true} to all fields generated. 2. However, some fields are hidden/shown dependent on choices in dropdowns, so I need to be able to filter out their requirement dependent on a choice the user has made (and ideally reset the hidden value to ""). 3. I'd like to be able to specify and control all the validation from the .js file where all my other jQuery scripts are kept. None of the error messages need to be customised over what is generated automatically. Ideally I'd like an example to get me started - assuming a select dropdown (#jobtype) with two options ('a', 'b') hiding/showing two relevant <div>s (#div-a #div-b) with a text field in each, what do I need in order for the input in #div-b to NOT be required when #div-a is shown, and #div-b is hidden? I'm sure it's possible, but it's not documented as I need it on your site. Thanks, Luc Pestille Web Designer -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: 21 May 2007 21:49 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation function help request Luc, having written a pretty complete validation plugin I could give you quite a lot of tips on how to build one. But I tend to think that it makes much more sense if you could just tell me what need from the plugin and I could tell you how you can achieve that with my plugin. And in case it isn't possible yet, I'm sure we can figure out a nice solution. I've nearly finished the first release candidate of the plugin, with some interesting new features (that were requested at some point) and some heavy refactoring that removed all depedencies on IDs in a form. Let me know how we can get you going. -- Jörn Zaefferer http://bassistance.de In2 Thames House Mere Park Dedmere Road Marlow Bucks SL7 1PB Tel 01628 899700 Fax 01628 899701 e: [EMAIL PROTECTED] i: www.in2.co.uk This message (and any associated files) is intended only for the use of jquery-en@googlegroups.com and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not jquery-en@googlegroups.com you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Any views or opinions presented are solely those of the author [EMAIL PROTECTED] and do not necessarily represent those of the company.