[jQuery] Re: Conditional required fields

2009-05-01 Thread Thomas Allen
I fixed the problem. It was this method: var autoHide = function() { memberSections.find('.section').hideExtras(memberCount.val()); youngerSections.find('.section').hideExtras(youngerMemberCount.val ()); } I changed it to: var autoHide = function() { if(!$('#memberless

[jQuery] Re: Conditional required fields

2009-04-30 Thread Thomas Allen
Thanks. I ended up using the classes add/remove style, and it works well. However, a method that should be called on every page load is not working properly. I am sure that it's being called (tested with the console), but the removeValidators() method doesn't seem to work properly.

[jQuery] Re: Conditional required fields

2009-04-28 Thread Thomas Allen
And I'm not going out of my way to change the subject...I'm not sure what's going on there. Thomas On Apr 28, 2:40 pm, Thomas Allen thomasmal...@gmail.com wrote: a custom method is used for the fields inside the Billing Address group What does this method do (or, better, what's it called so

[jQuery] Re: Conditional required fields

2009-04-28 Thread Jörn Zaefferer
Take a look at http://jquery.bassistance.de/validate/demo/marketo/mktSignup.js The billingRequired method is what you should look for. Jörn On Tue, Apr 28, 2009 at 9:09 PM, Thomas Allen thomasmal...@gmail.com wrote: And I'm not going out of my way to change the subject...I'm not sure what's