| 
 Posted by Mark Parnell on 06/11/78 11:36 
Deciding to do something for the good of humanity, Mark 
<mark@spam-me-senseless.com> spouted in alt.html: 
 
> 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. 
 
There is no way of doing this in HTML. You will need some sort of 
client-side scripting (e.g. Javascript). Use Javascript to disable the 
checkboxes on page load (that way anyone with JS disabled/unavailable 
can still use them). You would need probably an onclick event on the 
radio button to call a function that enables the checkboxes (and one on 
the other radio buttons to disable them again). 
 
Of course you still need to validate the data properly server-side (i.e. 
ignore the checkboxes unless option 5 is selected). 
 
--  
Mark Parnell 
===================================================== 
Att. Google Groups users - this is your last warning: 
http://www.safalra.com/special/googlegroupsreply/
 
  
Navigation:
[Reply to this message] 
 |