ZF-9168: Zend Form Element Captcha Decorator
Description
When decorating the Zend_Captcha Form element, I use this: $this->captcha->setDecorators( array( 'Captcha', 'Description', 'Errors', array(array('data'=>'HtmlTag'), array('tag' => 'td')), array('Label', array('tag' => 'td')), array(array('row'=>'HtmlTag'),array('tag'=>'tr')) ));
The problem: the first TD HtmlTag element gets replaced by the last TR HtmlTag (after rendering). I have checked this, by removing the last decorator (the TR HtmlTag)
Comments
Posted by Stanislav Malyshev (stas) on 2010-04-07T18:00:54.000+0000
Not sure how to do this right, reassigning.
Posted by Christian Albrecht (alab) on 2010-04-08T02:03:29.000+0000
ZF-5867 is similar in that the opener is aiming for a table using Decorators as well.
Posted by Christian Albrecht (alab) on 2010-06-19T10:43:48.000+0000
Fixed in r22464 and merged into 1.10 release branch