The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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

    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed