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

Reset the page number

Not applicable
Hi,



I am trying to reset the page number by opening a new master page with

in the object-pagination the 'Start At' field value 1 but it doesn't

seem to work if it isn't the first page of the document.

Is there any other way to do this? Can I also reset the

total-page-counter?



Many thanks,



Gert
3 Replies
pguerett
Level 10
Level 10
There does not seem to be a way to do this at this time. I talked to the Product Manager and had them open an enhancement request for this.
radzmar
Level 10
Level 10
I'm using following script in the layout:ready event to change the page numbers in my forms.



exsample: Page 13 in my form shows page number 1.



this.rawValue = xfa.layout.sheet(this) - 11
Not applicable
Hi Gert,

You can check the page number if it is bigger than your desired value you can reset the variable value back by script as:



//After page 2, it starts from scratch

if(xfa.layout.page(this) > 2)

this.rawValue = xfa.layout.page(this) - 2;

else

this.rawValue = xfa.layout.page(this);