> 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 I can search the source)? Thanks, Thomas On Apr 28, 2:16 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: > One alternative approach can be found > here:http://jquery.bassistance.de/validate/demo/marketo/step2.htm > > Instead of adding and removing classes, a custom method is used for > the fields inside the Billing Address group. Whatever works for you... > > Jörn > > On Tue, Apr 28, 2009 at 7:20 PM, Thomas Allen <thomasmal...@gmail.com> wrote: > > > I have a form with a flexible number of field sets on my form. I think > > it'll be easier to understand if you just fiddle around a bit here: > > >http://content.constructioninst.org/corporate_renewal.html > > > I want to make a handful of fields be required in each field set, but > > only fields in visible field sets should be required. I have a > > mechanism to check this; the toggler I created updates a hidden field > > when a set is added or removed (there is one such counter field for > > each expandable section, "Individual Members" and "Younger Members." > > > Should I simply add the "required" class to the appropriate inputs in > > a field set when it's exposed, and remove them when hidden? Seems a > > little hackish, but maybe that's the best way. > > > Also, if anybody has pointers for the script that's there, that would > > be nice :^) One thing that I still have to do is make the field set > > counts visible to the user, but that's more of a design question right > > now. > > > Thanks, > > Thomas > >