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

Dynamic form elements not saved using addInstance()

HI!

Maybe you could help in following problem - I need to create  dynamic subforms, so user can add subforms or remove subforms in HCM P&F! I have created form in LiveCycle Designer 8.0, added two buttons, I can run my form in portal, and when Add button is clicked, new subform is created, but when I want to Check and send form, all newly added subforms dissappears! Maybe you can suggest any solution!

Thanks in advance!

JavaScript on click button:

Subform1.Subform2.instanceManager.addInstance(1);

( I already tried xfa.form.remerge(), but it does not helped to save newly added subforms;

Subform1 is flowed and Subform2 is positioned)

1 Reply

Avatar

Level 10

Are you saving and reopening th eform or is it when you do the submit and the form is still open.

Paul