开发者

Zend Framework [Forms] - How to make an array of form elements (textbox)?

开发者 https://www.devze.com 2022-12-20 01:18 出处:网络
How can I achieve the ff. in zend using zend form: <input type=\"text\" name=\"list[]\" /> <inpu开发者_Go百科t type=\"text\" name=\"list[]\" />

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

<input type="text" name="list[]" />
<inpu开发者_Go百科t type="text" name="list[]" />


you can do this with:

Zend_Form::setElementsBelongTo($array):

For more information visit:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号