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
BedrockMission!

Learn More

View all

Sign in to view all badges

Reset the page number

Avatar

12-08-2008

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

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

12-08-2008

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.

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct Reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct Reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

19-08-2008

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

Avatar

22-08-2008

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);