Dynamically adding form elements is painful, because of form validation
issues. What I usually do is add all the possible form elements to the form
up front, and then use JS / Controller logic to dictate what elements I
should or shouldn't display. I guess you could store the form object in
session and add/remove records from there. That would probably work too.

On Thu, Dec 11, 2008 at 2:58 AM, Daniel Latter <[email protected]> wrote:

> First of appologies to everyone  for the blank message.
>
> I would like to get thoughts on the below scenario:
>
> I wish to dynamically add elements to a Zend_Dojo_Form. I was wondering if
> any one has managed to do this, and if it can be done.
>
> My initial thoughts are to send an Ajax request that will append set
> elements to the current form, but I'm not sure if that can be done, could
> anyone please give me some pointers where to start, it will help alot,
>
> Thanks
>

Reply via email to