Question
Page counting [Javascript]
Hello, I'm trying to make a dynamic page counter that will display the total number of pages on my pdf document (I have templates spawn and I delete pages aswell). the current code i am using is:
this.getField("PageNo").value = this.numPages;This is located in document Javascript.
The problem that I am having is that the field nearly never shows the right number and dose not update when the page numbers change.
Is there a fix for this?
Thank you for your help in advance!
