Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Master page fields are reset on removal of subform in the document


Level 2


I've got another problem here: In a form I've got a repeatable subform, each intance containing a "remove current instance"-Button and a "add instance"-Button below all the subform instances. This works fine, but every time I delete a subform instance, all the fiels from my master page are reset. That sucks. Any reason why this happens, any workarounds (except putting that stuff into the normal page)?

Other problem: How do i do a calculation for every subform instance *after* one of the subform instances is removed? Adding a script call to the Action removing the subform instance *after* the removal action doesn't work, it is never executed.



1 Reply


Level 2

A workaround to the first problem: Make the data binding of the fields in the master page global.