How to successfully reset the fields in a repeating subform

Hello

I'm more and more frustrated just trying to create a form dynamic xml () with lifecycle designer.

As a test, we build a form that 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 reset the field "Kundennummer' in the current subform, copy the following code resets this field in all subforms.

And to make this behavior even more "interesting" than that happens only if we use Adobe Reader XI - if we use Foxit Reader, the script does the job...

How can we get this running in two players?

You should not add a string to the somExpression, you must Access the Kundennummer field and then use the somExpression instead of do it yourself.

this.resolveNode("Kopfzeile.Kundennummer").somExpression;

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for