Answered
Can someone please help me. I've created a one page document in LiveCycle Designer 8.2 and what i'm trying to do is this:
Every time one of my employees opens the document, I want it to generate a new number?
Thanks,
Woodrow
TextField1.rawValue = xfa.layout.pageCount();
This second script example calls the pageDown method of the host application (Acrobat) to move the form to the next page:
xfa.host.pageDown();
Your solution: layout:Ready
TextField 1.rawValue = xfa.host.numPages;
xfa.host.currentPage = xfa.host.numPages -1;
My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.