Correctly spawning a page
For the life of me, I can't use this function correctly. I just want to spawn a blank template and have the page be correctly numbered in the bottom when the user completes the form but needs another page to go on.
If I leave the template visible (as page one), it duplicates a filled copy of my template. I need the new page to be blank. So I figured the template needs to be blank and hidden. for it to spawn correctly.
To hide a blank template, I first need to spawn a copy with bRename: true which correctly puts a prefix to the page created "P1". But once I spawn a second page from the hidden template, it has the same prefix of "P1". Then the others gets incremental correctly. So the first two pages are still Identical.
and for the page numbering I have these 2 calculate script
event.value = this.pageNum + 1 //this value changes according to the page a value has been changed on
event.value = this.numPages //this show the correct value
What am I not getting right?
