[html-formfu] checkbox strangeness
Geoffrey D. Bennett
g at netcraft.com.au
Wed Sep 17 13:54:15 BST 2008
On Mon, Sep 15, 2008 at 10:31:33AM -0400, Ronald J Kimball wrote:
> Geoffrey D. Bennett wrote:
> >On Mon, Sep 15, 2008 at 09:31:57AM -0400, Ronald J Kimball wrote:
> >>HTML::FormFu handles this correctly.
> >
> >For a single form submission, maybe, but not for setting the "checked"
> >attribute correctly in displayed forms. I just tried the form you
> >suggested above, and it only displays the checkboxes correctly if
> >there is no more than one checkbox selected (if more than one was
> >selected, they all end up unchecked).
[...]
> It works for me with HTML::FormFu::Element::Checkboxgroup. I forgot to
> mention that detail. :)
Riiight :-). Does that mean we're back where we started -- that
single checkboxes are booleans? And if you want multiple checkboxes
with the same name then you should be using Checkboxgroup?
--
Geoffrey D. Bennett, RHCE, RHCX mailto:g at netcraft.com.au
Senior Systems Engineer sip:g at netcraft.com.au
NetCraft Australia Pty Ltd http://www.netcraft.com.au/geoffrey/
More information about the HTML-FormFu
mailing list