Hi (probably Paul again!),
Getting the page number in a form seems pretty straightforward if you use the handy prefab button. I'm working on a general office form, and the assumption is that the actual print copy will have more pages stapled to it (like for a fax).
I'd therefore like the option to add some page number padding to the xfa.host.numPages.
Trying this:
var numPages = 1;
var xtraPages = 0;
numPages.value = xfa.host.numPages;
this.rawValue = parseInt(numPages.value)+ parseInt(xtraPages.value);
when I app.alert it, it seems that the xfa.host.numPages isnt going into the numPages variable. Is there a trick to accessing the info in the xfa stuff?
thanks,
-jamie