Hide and Show

Hide and Show

New to the forum, hello.

I've successfully installed jQuery on my server. it works, yay. my first use of jQuery for production will be to modify a registration form for students. Right now, in very old style, they can register for either one or two courses because there are fields available for Course 1 and Course 2 hard-coded in. They cannot register for more unless they submit and re-load the page and fill it all out again. LAME!

I would like to modify it so there is just an option for one class, and if they want more they click a link or a plus button or something to add an additional class and all it's associated fields (text boxes, radio buttons, etc.) And they can add as many as they want. Is this hiding and showing mechanism (or whatever you'd call it) easy to do in jQuery?

Also, if anyone has any links or resources they can share regarding how to use php to capture an uncertain number of variables coming from the form that would be great.

Thanks!
-sage