pageNum with Continuous Scrolling Enabled
I have a button positioned near the top of page 2 in a document. I have a text field at the bottom of page 1. I have continuous scrolling enabled. I'm testing what returns with pageNum. I scroll to see most or all of page 1 and the top of page 2, and run the following in console:
getField("test").value = pageNumThis sets the field to "0". Console seems to get whatever the program is displaying at the top as my current page. However the button, running the same script, always gives the page the button is on, even if I scroll to another page before I press it. This can be useful in my project, but I want to confirm my suspicions. Is there a tie to the page a field is on and the value of pageNum, as that field sees it?