ZF-5196: Invalid XHTML strict produced by form decorator about Zend_Form_Element_Captcha

Issue Type: Bug Created: 2008-12-10T02:15:54.000+0000 Last Updated: 2009-06-29T21:11:43.000+0000 Status: Closed Fix version(s): Reporter: Andrei Nikolov (viperx) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Captcha

Related issues: - ZF-5855



As described in… The html produced by the form decorator about "Zend_Form_Element_Captcha" is not valid XHTML strict. Here is an example html:

the "helper" attribute should not be there


Posted by David Siembab (dsims) on 2009-01-13T15:55:52.000+0000

pass 'helper' => null example: $captcha = new Zend_Form_Element_Captcha( 'captcha', array( 'helper' => null, 'captcha' => array( 'captcha' => 'Image', 'wordLen' => 6, 'timeout' => 300, 'imgDir' => 'img/captcha', 'imgUrl' => 'http://urlpath/img/captcha', 'width' => 200, 'height' => 60, 'font' => '/absolute/path/to/your/font.ttf' ))); this works for me, but unfortunately this is not the default with the decorator for the captcha element line 89 Zend/Form/Decorator/ViewHelper.php I think

Posted by Stanislav Malyshev (stas) on 2009-02-27T10:53:51.000+0000

It uses formHidden so it's probably form view helper issue...

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.