2 Replies Latest reply on Jul 10, 2014 10:46 PM by oborgers

    How to successfully reset field(s) in a repeating subform

    oborgers

      Hi,

       

      I'm getting more and more frustrated while trying to develop a form(dynamic xml) with Lifecycle Designer.

       

      As a test we are building up a form which contains a repeating subform.

       

      We want to reset the fields in the current subform and only the current subform using the following snippet:

       

      var som_kdnr = this.parent.somExpression + ".Kopfzeile.Kundennummer";

      xfa.host.resetData(som_kdnr);

       

      But instead of resetting the field "Kundennummer" in the current subform this code resets this field in all subforms.....

       

      And to make this behaviour even more "interesting" this happens only if we're using Adobe Reader XI - if we're using Foxit Reader the script does the job.........

       

      How can we get this running in both readers?