Skip to main content
Participant
January 31, 2022
Question

Disclaimer Generator

  • January 31, 2022
  • 1 reply
  • 639 views

Hello,

I am trying to create a "Disclaimer" pop-up window that prompts the reader of my pdf document to "Click 'Yes' to these Terms and Conditions" before viewing the pdf document. Is there a way to do that in Adobe Acrobat or is there another website/program that can create the disclaimer for me and I can insert it in my pdf document when needed?

Thanks.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 31, 2022

Yes, you can do it in Acrobat, but be aware that there's no guarantee it will appear in all applications. In fact, it's very likely not to. At any rate, to do it you can use the following code:

 

if (app.alert("Do you agree...?",2,2)!=4) this.closeDoc(true);

 

Place it under Tools - JavaScript - Document JavaScripts (not in a function!), and then save the file.