ZF-6412: Captcha label incorrectly paired with its input field

Issue Type: Bug Created: 2009-04-24T08:56:15.000+0000 Last Updated: 2009-06-17T15:10:47.000+0000 Status: Resolved Fix version(s): - 1.8.4 (23/Jun/09)

Reporter: Ondrej Machulda (ondram) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Captcha

  • Zend_Form

Related issues: Attachments:


Rendering Zend_Form_Element_Captcha in Zend_Form with a label decorator results in invalid HTML, where is not correctly paired with the captcha's field.


Captcha {quote} As can be seen, with its for attribute points to "captcha" element, while there is no element with this id. Proper behavior would be pointing to "captcha-input", as it is a text input field for captcha value.


Posted by Stanislav Malyshev (stas) on 2009-06-17T15:10:47.000+0000

fixed, thanks

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.