Button to copy current page + content and place in back of PDF form
Hello Community,
I've created an editable PDF form with a button to "Add page" and uses the following javascript:
var a = this.getTemplate("MyTemplate");
a.spawn({nPage: pageNum + 1, bRename: true, bOverlay: false});
The problem is that it copies only the first page (which you created a template of), where I'd rather have to "copy" the current page and content and place it as last page.
My question is: is it possible to create a template of the current/last page (incl. content) and place it in the back of the document?
Thank you in advance.
Kind regards,
JS
