Re: HTML_QuickForm, advcheckbox, setChecked()
| From: | Daniel Convissor | Date: | Mon, 19 Apr 2004 14:05:40 +0000 |
| Subject: | Re: HTML_QuickForm, advcheckbox, setChecked() | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28027@lists.php.net to get a copy of this message | ||
On Mon, Apr 19, 2004 at 06:37:33AM -0500, Paul M Jones wrote:
> A checkbox element and a hidden element may share a
> name, may they not?
No, they may not.
> What comes back is unique: the hidden value if the
> box is not checked, and the checkbox value if it is checked. Does it
> make sense?
Not really. You're gambling on what the person's browser is going to do.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409