views:

143

answers:

1

How can I achieve the ff. in zend using zend form:

<input type="text" name="list[]" />
<input type="text" name="list[]" />

Thanks in advance!

+1  A: 

Hi, you can do this with:

Zend_Form::setElementsBelongTo($array):

For more information visit:

http://framework.zend.com/manual/en/zend.form.advanced.html

ArneRie