Using Javascript to add pages to a PDF?
Hello!
I'm trying to figure out if it's possible to use the Javascript capabilities of some form fields to auto-insert pages into a PDF.
For example, if I import data into a field and the field value is "x", is there a way to execute a script that will automatically insert a separate PDF page (Blue.pdf) at the end of the document? If the value is "y", insert another, separate page (Red.pdf)? If the value is "z", insert even another page (Green.pdf)?
If not based off of an imported value, what about if I use checkboxes to execute the script? If the box is checked, then it inserts the page.
I'm not sure if I'm even asking this correctly, as I'm relatively new to the deeper capabilities of Acrobat. I appreciate any insight you fine folks can offer.
Thank you!
