This is a Form on Paper: [image: Inline images 1] Marco Pivetta
http://twitter.com/Ocramius http://ocramius.github.com/ On 13 December 2012 16:35, Ralf Eggert <[email protected]> wrote: > 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] > > >
