Answer the question
In order to leave comments, you need to log in
Zend Framework 2: How to generate multiple selects on a form?
Point in the right direction. It is necessary to generate many select-ov in the form.
For example
<select name="cat[1]">
<option value="1">1</option>
<option value="2">2</option>
</select>
<select name="cat[2]">
<option value="1">1</option>
<option value="2">2</option>
</select>
<select name="cat[3]">
<option value="1">1</option>
<option value="2">2</option>
</select>
Answer the question
In order to leave comments, you need to log in
Zend\Form\Element\Collection to help you. zf2.com.ua/doc/162
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question