checkboxes

From: Date: Tue, 21 Apr 2009 22:24:06 +0000
Subject: checkboxes
Groups: php.general 
Request: Send a blank email to php-general+get-291777@lists.php.net to get a copy of this message
How to deactivate checkboxes when one in a series is checked? <input type="checkbox" name="choice[1]"><another input> <input type="checkbox" name="choice[2]"><another input1> <input type="checkbox" name="choice[3]"><another input2> <input type="checkbox" name="choice[4]"><another input3> So that only 1 of the other inputs could be used in a search. Probably do the rest with switch stuff. Would be neat if the deactivated checkboxes would go grey. Is this an HTML question? Use onclick?But I think I need to either use a php string or function or would this be a CSS thingy? Thanks for any help. -- unheralded genius: "A clean desk is the sign of a dull mind. " ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php

« previous php.general (#291777) next »