1 Reply Latest reply on Aug 13, 2010 4:59 AM by pguerett

    Dynamic form elements not saved using addInstance()

    elfs777

      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)