Is it possible to use Zend_Form_SubForm with dynamic content added by
the user?

I'm trying to create a sub-form that can contain 0-N records (input
fields plus a delete button).  When the user presses the "add" button a
new record gets added to the sub-form.  When the user presses the
"submit" button, I want the form to be validated allowing for 0-N
records.

I already have nice looking forms built up from nested sub-forms so I
was hoping not to have to throw that all away.  The server generated
forms work great.

I'll need to figure out how to use "populate()" to pre-fill the
sub-form.

Am I approaching this the wrong way?

I like the idea of using Zend_Form but is there a better way?

Thanks,
Jamie Royer

Reply via email to