Marco Pivetta schrieb am 13.12.2012 16:21: > Why would fieldsets in the form component represent HTML fieldsets? HTML > fieldsets have no meaning at all IMO... They could be replaced by <div/> if > it wasn't a question of semantics.
Well, the <fieldset>-Tag is connected to a <form>-Tag. Ask any webdeveloper what a fieldset is and most of them will answer something like this: http://www.w3.org/wiki/HTML/Elements/fieldset So, Zend\Form\Fieldset will be set in connection to the <fieldset>-Tag if you like it or not. And with this in mind it is quite confusing, that Zend\Form\Fieldset behave in a different way than normal <fieldset>-Tags do. We already have the Collections in Zend\Form. So I would expect the collections to work like a collection with logically grouping elements. And let the good old fieldsets just group elements visually as long as they are not used as collections. http://zf2.readthedocs.org/en/latest/modules/zend.form.collections.html Regards, Ralf -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
