Re: checkbox values with quickform

From: Date: Fri, 22 Dec 2006 20:28:59 +0000
Subject: Re: checkbox values with quickform
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26181@lists.php.net to get a copy of this message
On 12/22/06, rav k <rav220@hotmail.com> wrote:
Hi I would like to ask a question about the adv/checkbox element in quickform. I need to be able to pass a different value for each different checkbox so I'm using the advcheckbox as I'm not aware if this is possible with regular checkbox. However if a box is unchecked I don't want to pass it at all, just like a normal checkbox would work. How is this possible?
Make checkboxes with different names. Do something different depending on which one is checked. -- Justin Patrin

« previous php.pear.general (#26181) next »