Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.2.16

Bug #140 Checkbox element generates empty label HTML
Submitted: 2003-10-22 11:48 UTC
From: mikeatwork at ukonline dot co dot uk Assigned: avb
Status: Closed Package: HTML_QuickForm
PHP Version: 4.3.3 OS: redhat linux
Roadmaps: (Not assigned)    
Subscription  


 [2003-10-22 11:48 UTC] mikeatwork at ukonline dot co dot uk
Description: ------------ An empty <label> tag pair is generated when the elements label is set to null. Reproduce code: --------------- $this->addElement('checkbox', $key, $value, null); The generated HTML is: <input name="123" type="checkbox" value="1" id="qf_be76e4" /><label for="qf_be76e4"></label> Expected result: ---------------- No <label> html output as part of the elements html.

Comments

 [2003-10-22 13:22 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2003-10-23 15:25 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!