Need help with dynamic PDF
Hello Adobe Community,
Need some help on creating a dynamic test book. Please see image below.
The PDF will have a first page where the user will select which sections to include in the test book (at least one). Will do so by selecting the checkboxes and clicking the button "Generate Test Book".
The script will modify the PDF to only show pages corresponding to the selected section(s). Pages from not selected section(s) will be deleted from the test book.
I've been trying to figure out the best way to configure it.
- I created templates for each page in the document and hid them.
- Since the user may have only Acrobat Reader, I'm trying to find a way to spawn the pages so they can also be deleted from Reader.
- Need to add page number using fields so they are dynamic depending upon the selection.
So far, the problem I'm facing is that if I delete a page, the associated template is also deleted. Is there a way to overcome this? Should I rethink the whole approach?
Any help is appreciated.

