Assistance with Script to Add and Delete Page in Adobe Acrobat Pro using Page Templates
I watched the video posted by PDF Form Javascript on YouTube which showed a way to add additional pages and delete them (https://www.youtube.com/watch?v=tlq0NCxamjg).
The problem I ran into was it seems that the script deletes any additional pages added after the template page. I'm looking to incorporate this script to add two separate categories for a tenant portal, I'd like to generate an area for those on the lease (multiple people) and a separate portion of the form for references. The problem is the number of pages will be contingent on the renter and therefore not uniform. I'm trying to work on a script which will allow me to add and delete pages in two separate areas without deleting additional pages not related to the necessary criteria. For instance, if I have (3) renters in an apartment, I'd like to add additional pages for say (3) references, and be able to delete a reference and tenant without deleting other pages in the form. Any help, greatly appreciated!
