Posted by Ed Jay on 12/09/67 11:36
Mark <mark@spam-me-senseless.com> wrote:
>Hi yall
>
>I have been looking for a way to do the following
>
>I have a form for entry to an event
>
>People can choose whether they want to
>
>1 Come for the whole week
>2 Come for the first weekend
>3 Come for the last weekend
>4 Come for the midweek days
>5 Come for days that they specify
>
>Radio buttons are used to select their option.
>
>What I want is for there to be 8 check boxes under option 5 THAT ARE
>ONLY ACTIVE IF THEY SELECT OPTION 5. In otherwords they are greyed out
>unless they select option 5.
>
>I have seen it done before, but foolishly did not look at the source
>code to see how it was done.
>
>My attempts to find anything on the Internet have come to nothing...
>
>Any <form> gurus out there who can help me?
>
I'm not a guru, but I recently went through the same exercise. I ended up
using a simple javascript to toggle the CSS display property of a <div
style="display:none";>. When I press button 5, the five new choices
suddenly appear as now-displayed checkboxes. See what I mean at
http://www.edbj.aes-intl.com/pg4disp.html. Click on any of the checkbox or
buttons.
--
Ed Jay (remove M to respond by email)
[Back to original message]
|