Hi,

I have in one of my pages the following:

 --Form A
|   Add item
 --------

--Form B
|    --Zone A
|   |  Item1
|   |  Item2
|    -----
|    Some other form fields
 --------

On success from Form A, Zone A gets updated and the new item added shows up in Form B. In Zone A each item has a select to change one of its values.
When adding a new item (Form A) I get the following error:

/Component ... must be enclosed by a Form component./

I know it's because of adding a form field dynamically to Form B. But how can I achieve what I'm trying? I have looked at AjaxFormLoop, but it doesn't look like what I need in my use case. Then I saw FormInjector, but I'm not sure how to use this.

Any hints/ideas on how to achieve what I described?

Thanks,
Nathan

Reply via email to