I have a text object on my *master page* -- outside a content area. Depending on user input, my form may grow to several pages.
Is it possible to script some event so that the text displays on all but the last page? I have seen examples of xfa.layout.pageCount() and xfa.layout.page(this), but am probably missing an obvious point.
I think that point is how, at run time, to know, for example, this is page 3, there are 5 pages in the form -- the master page text should be displayed. Or, even, this is the last page of a 7 page form -- the master page text should not be displayed.