I have a PDF document that includes multiple documents. Every document needs to be able to start at the top of the page even if the previous page has the flowing fields that expand and increase the number of pages. Each one has to be independently numbered on its own. First 6 pages are already numbered 1 of 6 thru 6 of 6. After that there are 4 more documents that include flowing forms, so I have to include the Page # of ## formula to count for each page as the flowing forms change the total numbers of pages. I am unable to figure out how each one of the 4 pages account for its own pages individually. For example:
When you say it is not working, does it not show any values or does it show the wrong values? If the wrong values then maybe there's something gone wrong with the references in the floating fields. In the XML you should see some thing like xfa:embed = "#floatingField002995" in the text field this should match the id on the hidden field;
Weird. I tested BR001's solution and it doesnt actually work. Seems like a strange setting then as that is what i thought it would do. If there isn't an automatic solution then I guess there is another way you can do it but it will need some input from you and a processing button.
You could have a page number textfield on each document page
Create a document setup overlay or something where you have numberfields where you specify the total number of pages for each doc.
Create a button that uses if or switch logic to change the pageNumber textfield you put on the master page to the number it should be for each page up to the total number of pages specified in your setup overlay.
I not sure I understand the structure but if you have Doc1, Doc2, Doc3, ... as normal pages, each pointing to their own master page you should be able to use the "Master Page n of m" object which is in the Custom category, just update the "Master Page" label to whatever you want.
I have used the Master pages properties, however, unable to get it to function correctly.
As there are multiple documents within the PDF file, certain pages should say page 1 of 1, or page page 1 of 2 and page 2 of 2 if the flowing text field goes to a 2nd page. Then on a next page the count should start again from 1, saying page 1 of 1 and so on. Selecting start on 1 on the picture above still doesn't make it work.
For each page of the document there is a master page created, and the page is placed to its master page from Object/Pagination/In Content Area - select Master page
Cannot attach a sample file, as it may be much helpful...