[Catalyst] HTML::Widget - checkboxes with same name, duplicate id-attributes

Adam Sjøgren adsj at novozymes.com
Tue Jun 20 15:08:06 CEST 2006


On Mon, 20 Mar 2006 10:53:11 +0100, ADSJ wrote:

> The HTML-specification allows checkbox-elements to share the same
> name¹, so I guess Checkbox.pm ought to do something similar to
> Radio.pm for id-attributes?

There was no response to this, so I've cooked up a crude patch that
makes Checkbox.pm do what Radio.pm does.

It should perhaps be done in a better/more general way?


  Best regards,

    Adam

-- 
                                                          Adam Sjøgren
                                                    adsj at novozymes.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20-checkbox-unique_id.patch
Type: text/x-patch
Size: 1570 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060620/492828f1/attachment.bin 


More information about the Catalyst mailing list