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

Duplicate subform

Avatar

Not applicable
I'm able to easily create a button that produces a new copy of a subform in a dynamic form by using:

_mysubform.addInstance(1);



Now I would like to not only make a copy of the subform, but duplicate the data the user has entered into it.



I've tried _mysubform.clone(1); but that' doesn't work. I am guessing I need to copy the data, add a new instance and then load the copy data into the new subform. Anyone have suggestions on how to do this?



FYI, the end user will have Reader 7.09. The user will have extended rights via Acrobat Pro 8.



Carl Young
0 Replies

Avatar

Level 4

Hey Carl,

I know this is an old post but can you give me more info on how to use the mysubform.addInstance(1); to duplicate the subform?
Thanks!

Jodi