Dear Miguel, Something along the lines of this might be what you want:
1) $('fieldset.collapse > legend').click(function() { $ (this).parent().toggleClass('collapsed'); }); 2) Take a look at jQuery UI, the tabs plugin. I'm not sure what you mean with 'having access to all form input values', so i'm guessing here; The form input values should be submitted as long they have a value attribute != Null (this might be different depending on the specific scripting language you use, but it really shouldnt), this is also completely unrelated to the visual properties you might add by using css to hide any elements inside the fieldset.collapsed class using css. Regards, Yuka