Copy link to clipboard
Copied
Hello Adobe community,
Warning: Beginner here
I am trying to import an existing pdf after the user has selected an item on the drop down list. For example; I have a form with a dropdown menu and three items on the list (caustic, heavy gas oil, and hydrocarbon). Each item on the list has its own PDF that needs to be imported into the document if selected. Once the user has chosen from the list I need to import a pdf into the existing document. I have done some basic searches but found no luck.
Any advice or tutorials I can research will be appreciated.
Thank you
Again, it's tricky. You can show/hide entire pages by converting them to Templates and then changing the value of their hidden property, but this would only work in Acrobat. In Reader you will need to convert the pages to Templates, hide them and then use a script to spawn them when you want to show them and then delete them when you want to hide them once more. Possible, but not simple to implement.
Copy link to clipboard
Copied
This is problematic. First of all, it won't work in Reader, and in Acrobat it can work, but requires installing a script on the local machine. Also, the paths of the files to import must be known in advance, either the full file path or relative to the current document.
On top of that, what if the user changes their minds and changes their selection? You could end up with multiple copies of each file attached to the main one.
Copy link to clipboard
Copied
Thanks for the response, also I am using Acrobat XI. The goal for this document would be for others to use it as well. So you are right it would be a mess to match all the paths of the files. I am now thinking of importing all the pages into the document and hiding/unhiding it when selected inside the dropdown menu?
Copy link to clipboard
Copied
Again, it's tricky. You can show/hide entire pages by converting them to Templates and then changing the value of their hidden property, but this would only work in Acrobat. In Reader you will need to convert the pages to Templates, hide them and then use a script to spawn them when you want to show them and then delete them when you want to hide them once more. Possible, but not simple to implement.
Copy link to clipboard
Copied
Great, thanks for the new direction. I will do some searches with this idea.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now