on ‎2021 Oct 18 9:45 AM
Hi,
I have a requirement where I want to develop an Adobe Form for our invoices, and for a specific country we need a different header design.
So this is the requirements:
What I did was the following:
3 Main Pages:
2 Body Pages:

Then I have this for pagination:
Page 1:

Page 2:

And this script in the master pages for initialization/layout:ready/form:ready
var lv_data = xfa.resolveNode("$record.GV_STARTPAGE").value; if( lv_data == "INDIA") { this.presence = "visible"; } else { this.presence = "hidden"; }
To hide the non-required page 1 based on a variable
The problem I'm facing is with the Pagination of page 1 - Place
If I choose On Page1_India, it prints India fine, but not generic. If i choose On Page1_Generic it prints generic fine but not India. And I don't know how to change this parameter via script based on my variable.
Tried using "following previous", but only works for the Master Page 1 that I have on top (the content area is consumed by it even though i'm doing presence = "hidden").
Also tried using 3 Body Pages, one for each master page, but again, it's consuming always the master page on top, then going for overflow on page 2, only then going for the correct master page 1.
Am I doing anything wrong here? I think I would be able to do it if I could change pagination->place via script, but don't know which variable I need to change.
Thank you
Request clarification before answering.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.