Hi,

yesterday I discussed with a colleague the possibility of replacing T5 form components (parts of a form) with ajax zone updates.
The basic problem is:
- each component registers itself as "process submission" to the form (via formsupport)
- the form serializes all those submissions to a hidden field "t:formdata"
- during submit the submissions are deserialized and executed
So it it not possible to change the submissions without replacing the whole form. There are some workarounds that allows to add new form field by emulating formsupport and add extra t:formdata fields to the form.

Yesterday we had an idea for a different approach which I'd like to discuss here. What if each form field would render it's own submission to it's own t:formdata field? In this case it would not require formsupport to register itself to the form. The field would still be handled by the form during submission. But the component itself could then simply be added or removed with ajax.

Regards,
Michael,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to