Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

New Instances of Altered Subform


Level 2

I have a form in which I call setInstances(x) to generate multiple instances of a subform.

Only I want to gather some data from the user first and have that data replicated in the new instances. As it is, the new instances are based on the original empty version of the form.

Is there a way to do this?


1 Reply


Level 7

I dont know if there is an easier way, but I would just store the user data in global variables and just write switch code to copy to the new subforms.