1

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

<input type="text" name="list[]" />
<input type="text" name="list[]" />
2
  • I'm not sure you are going to get a lot of help with just "achieve the ff in zend". Can you specify what you are needing or what you have tried or maybe show us some of the PHP involved? Commented Feb 11, 2010 at 9:27
  • Are you wanting a way to use the form data submitted as an array, or do you want to create a form from an array? Commented Feb 11, 2010 at 9:28

1 Answer 1

3

you can do this with:

Zend_Form::setElementsBelongTo($array):

For more information visit:

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.