I'm creating a fillable PDF form with Acrobat Pro DC to be distributed. I created an action button in the form, which will open a sub-form saved on my desktop. However, when distributed, other users cannot access this "sub-form" by clicking the button. I see that I may need to add an opening preference for the target file, but how do I do this? Thanks!
You could also put it on a server and have the button open the file from an URL.
Thanks! This sub form is a completely different file. In fact, this sub form has another sub form embedded in it, too. Because of the nature of the documents, I cannot use the "goto page view" or the URL function. Is there no other way to do this? Would you know how to add an opening preference for the target file? I really appreciate your help!
Why can't you use the "Goto page view"? This is the preferred method because it will work when JS is not available. Just open the attachment in another Acrobat tab and when you select the "Goto page view" action, click on the embedded file.
var oDoc = openDataObject(dataObjects.name)
This code opens the first file attachment. And it won't work everywhere.