Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>