ZF-2958: Zend_View_Helper_FormElement::_hidden() behaves inconsistently with doctype

Issue Type: Bug Created: 2008-03-24T15:41:46.000+0000 Last Updated: 2008-05-05T11:44:49.000+0000 Status: Resolved Fix version(s): - 1.5.2 (15/May/08)

Reporter: Geoffrey Tran (potatobob) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:


Reported by romme @ #zftalk

usually, view helpers check $this->view->doctype->isXhtml() to choose between rendering " />" or ">" as an empty tag notation. _hidden(), however, provides no such choice and always renders " />", which breaks validation.


Posted by Wil Sinclair (wil) on 2008-03-25T20:33:30.000+0000

Please categorize/fix as needed.

Posted by Ralph Schindler (ralph) on 2008-03-26T12:48:30.000+0000

Matthew, send this back if it ends up being a Doctype issue.


Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:18:09.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-25T16:15:45.000+0000

Resolved in trunk and release 1.5 branch by r9324

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.