Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Captcha, Zend_Form
-
Labels:None
Description
After creating form and calling setElementsBelongTo, captcha label is rendered with invalid "for" attribute:
$form->setElementsBelongTo('comment');
$form->addElement('captcha', 'captcha', array( ... ));
<dt id="captcha-label"><label for="comment[captcha]-input" class="required">Type text from image:</label></dt>
fixed in trunk, thanks