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

field value from master page


Level 1


I have print form with the layout like this


Sorry about the mixed languages

Problem is in these Erittely-masterpages.

Erittely_etusivu has restriction 1, and content will overflow to Erittely_next which can occur n times.

This combination can exist n times.

Now I need to fetch value from a field from Erittely_etusivu into corresponding field on Erittely_next.

With this I get the value

var jeps = xfa.resolveNode("form..Erittely_etusivu.Headeri.INVOICE_NO_E");

this.rawValue  = jeps.rawValue;

but it is always the field value from the first Erittely_etusivu.

How can I get the value of the n:th INVOICE_NO_E-field? Like using the current pagenumber -1.

I tried using index but received nothing.


1 Reply


Level 1

Hi All,

I really need to have a solution to this one. Anyone? Ideas?

Here you can download demo of the form to get better idea.

Bundle.pdf - Google Drive

As you can see page 10 has null value with the coding (need to have same values as page 9),

this.rawValue = xfa.resolveNodes("[9].INVOICE_NO_E").rawValue + "9";

also reference to parent does not work,

this.rawValue = this.parent.INVOICE_NO.rawValue + "9";

(nine is just to see that somethig is happening)

Do I have to redesign the form even though the result at the moment is what´s needed.