ZF2-518: Binding objects to collections of the form

Issue Type: Bug Created: 2012-09-04T07:19:50.000+0000 Last Updated: 2012-10-08T20:14:43.000+0000 Status: Closed Fix version(s): Reporter: krishna m ( Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Form

  • bug

Related issues: Attachments:


<pre class="highlight">
        'type'    => 'Zend\Form\Element\Collection',
        'name'    => 'addresses',
        'options' => array(
            'count'                  => 2,
            'should_create_template' => true,
            'allow_add'              => true,
            'target_element'         => array (
                'type' => 'Admin\Form\AddressFieldset',

How to bind the values to the elements of the fieldset when using the collections to the fieldset address[0]['street1'], address[0]['street2'] .... kindly Let me know how can be this achieved


Posted by Frank Brückner (frosch) on 2012-09-04T10:04:52.000+0000

Code tags added.

Posted by Frank Brückner (frosch) on 2012-09-04T10:06:48.000+0000

@[] Is this a question or a bug report? For questions please use the mailing lists.

Posted by krishna m ( on 2012-09-04T10:28:25.000+0000

I hope its a bug

Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:43.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

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.