You are here: Re: Making check boxes active on selection of radio button... « HTML « IT news, forums, messages
Re: Making check boxes active on selection of radio button...

Posted by Ed Jay on 01/19/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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация