Page 1 of 1

disable/enable checkboxes with selection of other checkboxes

Posted: Tue Feb 28, 2012 7:37 pm
by nite4000
Hey,

I have a form on a page that has checkboxes but in this case only a certain 5 boxes are being user

box a


then you have boxb-boxf

now if i select box a then box b-f is diabled

if i select all or any of the boxes in box b-f then box a is disabled.

I did this a while back but cant seem to find any code to help me in the right direction. if anyone has any ideas let me know

Thanks

Re: disable/enable checkboxes with selection of other checkb

Posted: Wed Feb 29, 2012 6:47 am
by social_experiment
Look into a javascript solution;
http://stackoverflow.com/questions/5215 ... le-disable
hth

Re: disable/enable checkboxes with selection of other checkb

Posted: Wed Feb 29, 2012 6:49 am
by nite4000
ok i will chk this out thanks