ZF-8268: Captcha label incorrectly paired with its input field after calling $form->setElementsBelongTo()

Issue Type: Bug Created: 2009-11-09T23:59:38.000+0000 Last Updated: 2009-11-27T20:36:36.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Mateusz Tymek (mtymek) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Captcha

  • Zend_Form

Related issues: Attachments:


After creating form and calling setElementsBelongTo, captcha label is rendered with invalid "for" attribute:

{quote} $form->setElementsBelongTo('comment'); $form->addElement('captcha', 'captcha', array( ... )); {quote}


Type text from image: {quote}


Posted by Stanislav Malyshev (stas) on 2009-11-27T20:36:35.000+0000

fixed in trunk, 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.