Copy link to clipboard
Copied
Hi All, does anybody know how i can get a button to browse to a pdf file and then add a 9 page pdf to the form ? many thanks.
Copy link to clipboard
Copied
You can add pages at Tools > Organize Pages
Copy link to clipboard
Copied
Why would you want to do it using a button? Also, where in the file do you want to insert the new pages?
And are you aware this won't work if used outside of Acrobat?
Copy link to clipboard
Copied
Hi , i am aware yes, i have the 1st page with user information on it, things like, name, address, passport details, driving license etc etc. The fields on this 1st page are then put into various letters, contracts, licenses and forms further on in the document, Acrobat forms is extremely useful for this kind of repitition. It saves hours and saves on making mistakes!
The Button will be to add in a 9 page pre filled PDF document (with different details for different users) into a specific location later in the document.
Kind Regards
Copy link to clipboard
Copied
You'll need to use a trusted function to do it.
See these tutorials:
https://acrobatusers.com/tutorials/trust-and-privilege-in-acrobat-scripts
https://acrobatusers.com/tutorials/using_trusted_functions
Copy link to clipboard
Copied
Here's some more stuff to read:
https://www.pdfscripting.com/public/How-to-Save-a-PDF-2.cfm?sd=40 (Same technique is used to load file)
https://www.pdfscripting.com/public/Trust-and-Privilege-in-Acrobat-Scripts.cfm
These two articles cover file browsers:
https://acrobatusers.com/tutorials/popup_windows_part3/
https://acrobatusers.com/tutorials/popup_windows_part4/
And in general you'll need some info on creating Automation Scripts, like how to create a toolbutton:
https://www.pdfscripting.com/public/Alerts-Popups-and-Other-UI.cfm
https://www.pdfscripting.com/public/Automating-Acrobat.cfm