Is there a way how I can use zend subforms in Zend Framework2. When I did a search in the internet I have landed upon many examples showing how to use zend subforms but using Zend Framework1.
In case if somebody has a link/example where one can go through a basic example, would be great.
Any information is appreciated.
Because Zend\Form is tree structure, you could add another form into your form with a form name. Such like this:
Notice that the “subform” input name will be add form name as prefix automatic.