I'm trying to add a field, from a controller, to a form loaded through a template - but I can't seem to make it work =/
I thought it was enough to just create a new Field(), set its properties and add it to the AllFields of the form.. but I just realized that it is readonly, so add() doesnt work.
How would I go about inserting this new field to the template instance?
Add field to form created from template..
Hi,
I'm trying to add a field, from a controller, to a form loaded through a template - but I can't seem to make it work =/
I thought it was enough to just create a new Field(), set its properties and add it to the AllFields of the form.. but I just realized that it is readonly, so add() doesnt work.
How would I go about inserting this new field to the template instance?
Thanks
is working on a reply...