Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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

Avatar

Level 2

Hi,

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.

Regards,

Jost

1 Reply

Avatar

Level 2

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