Variable to subtract 1 page from total page count

krvenick
krvenick Community Member Posts: 31

 you'd need to set up a new variable - e.g. PagesInTitle-1

then at title level, above the actions that make your page number appear, modify the new variable with 2 actions:
1) on show>modify variable > PagesInTitle-1 > Value: var(PagesInTitle) >  Set Variable contents
2) on show>modify variable > PagesInTitle-1 > value: 1 >  subtract from Variable

then, in the Add Total Pages action at title level, you need to change the value from var(PagesInTitle) to var(PagesInTitle-1)