Expand my Community achievements bar.

Restart page numbering

Avatar

Former Community Member
Can the "current page number" data be reset within a form? My form is many pages long with approximately 10 sections. I'd like to use the "current page number" or a similar tool at the bottom of each page. But I need the pagination numbers to start back at 1 at the beginning of each section.



As each section may be on a new master page, it would work for me if there is a way to display a number that counts the instance of the master page.



Thanks
1 Reply

Avatar

Former Community Member
simple solution: Make a separate master page for each section that requires its own numbering. Put a text field at the bottom of each master page to hold the page number. In the ready:layout event, add this script:



$.rawValue = $.parent.index + 1;