Grow your CSS skills. Land your dream job.

Show / Hide Form Section

  • # March 30, 2009 at 3:36 pm

    Howdy CSS pals.

    I have a challenge that is getting the best of me at present. I am hoping for some insight from you fellows.

    I have a form where the user is required to complete one one field or the other. I want to hide them until the user selects which path to take.

    Now, I am not a total dolt (almost). I have managed to figure out how to show/hide sections with a link but I have not figured out how to make them dependent. If ‘Option One’ is selected the form fields for option one will show. But when ‘Option Two’ is selected the fields for option one will hide and the fields for option two will show.

    Thoughts? Please share. I need a little help on this one.

    # March 30, 2009 at 6:11 pm

    have a look at Chris’s Registration form http://css-tricks.com/examples/SeminarRegTutorial/
    (Download http://css-tricks.com/examples/SeminarRegTutorial.zip

    Seems to be what you are asking for

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".