Skip Menu |

This queue is for tickets about the HTML-Form CPAN distribution.

Report information
The Basics
Id: 77782
Status: new
Priority: 0/
Queue: HTML-Form

People
Owner: Nobody in particular
Requestors: ewfalor [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Radiobuttons don't get their own ID attribute
Date: Tue, 12 Jun 2012 09:49:06 -0600
To: bug-HTML-Form [...] rt.cpan.org
From: Erik Falor <ewfalor [...] gmail.com>
First of all, I want to thank you for your wonderful work on the many HTML and HTTP classes you've written. I've used them and enjoyed them for many years. I only recently ran into a limitation with the representation of radiobutton inputs in HTML::Form. I needed to refer to a specific radio button whose 'value' was an unwieldy blob of HTML. I had been looking up the radiobuttons on this particular web page by their value, but that scheme was rendered impossible by this particular radiobutton group. When I inspected the data gathered by the HTML::Form object I noticed that the radiobutton group as a whole took on the id attribute of the very first radiobutton encountered. Since each radiobutton can have its own id attribute, I changed HTML::Form::ListInput::new() accordingly. You will find the patch with these changes in the attachment. Thank you, Erik -- Erik Falor http://unnovative.net Registered Linux User #445632 http://linuxcounter.net

Message body is not shown because sender requested not to inline it.

Download (untitled)
application/pgp-signature 198b

Message body not shown because it is not plain text.