Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

2 Dynamic Pages Seperate Page Numbers

Avatar

Level 5

I have two dynamic pages on the same form :

<Cover Page>

<Form Data Page>

I want to have the page numbering seperate for both. E.g. If the Cover Page is 4 pages then when Form Data starts it sould start with Page 1/ Total Number of Form Data Pages. Not Page 1 out of all total pages.

I can't seem to get the scripting down for number of pages for each Master page series. Any ideas? I have attached a test file to show the challenge I am facing. Thank you for your time.

https://workspaces.acrobat.com/?d=SwypKLeZhlvykEs6xjzGUw

1 Accepted Solution

Avatar

Correct answer by
Level 5

Fixed! Trick is to use pageSpan to get the one variable needed for the remaining calculation on the other subform or subform(s).

Fixed Form:

https://workspaces.acrobat.com/?d=TLu0AaZhVCfik3-8FIk80A

Also see Thread:

http://forums.adobe.com/thread/788404

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

Fixed! Trick is to use pageSpan to get the one variable needed for the remaining calculation on the other subform or subform(s).

Fixed Form:

https://workspaces.acrobat.com/?d=TLu0AaZhVCfik3-8FIk80A

Also see Thread:

http://forums.adobe.com/thread/788404