Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Adding & removing subform instances

Avatar

Level 1

Hello,

Hopefully this is an easy fix that is escaping me.

I have a subform which has an ADD and REMOVE instance(row) button so I can add additional subform. The buttons are part of the subform. Although the basics are working fine, it currently only adds an instance below the last instance added no matter which ADD button is used and only removes the top instance no matter which REMOVE button is used.

I would prefer to add a row below any given row and remove said row using the remove button which is part of the same subform.

I am sure that made no sence. I have attached pdf.

thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 6
2 Replies

Avatar

Level 6

I couldn't access your file so like at the one I attached.  I think this is what you are describing

Avatar

Correct answer by
Level 6

Try this.