Expand my Community achievements bar.

find current page and total pages of wizard pages and current page and total pages summary pages

Avatar

Level 2

Hi all,

I have a client who requested the current page and total pages of wizard pages is displayed when navigating wizard pages.

Wizard page is only displayed one page. For examples:

Wizard pages has 10 pages, and summary pages has 5 pages.

Every time, the first wizard is diplayed field page 1 of 10, I select next button the next wizard page is displayed field page 2 of 10 and so on. The wizard page is displayed one page only.

when I go to my summary pages, the field page is displayed page 1 of 5 , when selecting next page the field is displayed page 2 of 5 and so on....

I have tried my coding however it is unsucessful. I spent a lot of time and didn't sleep well about it.  Please help!!!!! I

here is my form.

https://acrobat.com/#d=iPKr4lbkRCOgkfh43we-SQ

Cindy

2 Replies

Avatar

Level 10

Hi Cindy,

Your form is password protected, so I can't have a look. However this might help: https://acrobat.com/#d=*2slxPLc6c-H0U449vA4jQ.

I have used two Master Pages with amended FormCalc script in the CurrentPage and PageCount objects. These look at the index of each of the Master Pages.

Hope that helps,

Niall

Avatar

Level 2

Hi Niall,

Thank you for your help.

Your sample is working correctly when all pages (wizard and summary pages) are displayed when opening the form.

When I hide all pages except the 1st page wizard the total pages is displayed incorrect.

the wizard pages is displayed one page all the time.

For example: when opening the form, one wizard page is displayed and the rest of pages are hidden. They complete wizard page and click next button, the 2nd wizard page is displayed only.

Below is the the links that I modified your sample (hide all pages except 1st wizard page(should be displayed 1 of 5) but displayed 1 of 1

https://acrobat.com/#d=-nH4AjwyEZk-dzgebQhjvw

https://acrobat.com/#d=L5JJBIY5rlAIhhFLNCKbPA

Oops. I have unlocked my file. Please see the link below.

https://acrobat.com/#d=VzoiucaTqVEOnB0UAnbAbA

Thanks,

Cindy