Expand my Community achievements bar.

automatically show number of pages in PDF on first (general) page?

Avatar

Level 1

I want to have a field at my first page of pdf document which automatically shows how many pages are there in document. Is that possible, if yes, how? i know i can have number of pages in header, but I need special field inside body of my first (general) page of pdf document

tnx in advance

1 Reply

Avatar

Level 7

put the code: this.rawValue = xfa.layout.pageCount()

(you can also insert it automatically as a floating field from the insert menu)