ZF-3731: Zend_Form_Decorator_Fieldset - Cant avoid ID for
(invalid XHTML)

Issue Type: Improvement Created: 2008-07-23T15:16:45.000+0000 Last Updated: 2008-09-02T10:38:57.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Michal Vrchota (techi) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments: - Fieldset.php


Why there is obsession to assign ID for every fieldset? If i dont specify ID i dont want to have


fieldset id="-fieldset">

If ID is a number (0, 1)


fieldset id="0-fieldset"> is also invalid XHTML

ID attribute should be rendered only if I want to and not always


Posted by Michal Vrchota (techi) on 2008-07-23T18:01:50.000+0000


Posted by Matthew Weier O'Phinney (matthew) on 2008-08-04T06:05:30.000+0000

Changing from 'bug' to 'improvement', and scheduling for 1.6 release. We create ids to facilitate usage with javascript, and that functionality will not change anytime soon. I will, however, consider your patch.

Posted by Matthew Weier O'Phinney (matthew) on 2008-08-05T09:50:41.000+0000

Fixed in trunk in r10685 and in 1.6 release branch in r10686.

Posted by Wil Sinclair (wil) on 2008-09-02T10:38:57.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


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

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