These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Adding a disclaimer to a pdf

thill3020
Registered: Sep 30 2009
Posts: 2

I need help on how to add a disclaimer to a pdf where the reader has to click yes they agree to the terms in order to view the pdf. Is there a simple way to do this in Adobe Acrobat Pro?

My Product Information:
Acrobat Standard 9.1.3, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
You can use document-level javascript to display a dialog box when the PDF opens, but closing the PDF if they reject the agreement is not possible in every situation - it depends if Reader/Acrobat is in embedded mode or not.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Just a warning, the method described depends upon Acrobat/Reader allowing the running of JavaScirpt and the user can turn this feature off for the application and this procedure will not work.

See [url=http://www.acumentraining.com/acumenjournal.php]Acumen Journal[/url]and search for the "Nagware" series, Issues 35 Sept 2004 and 36 Nov 2004 and [url=http://www.acumentraining.com/resources.php]Resources[/url] and search for the Nag1.Zip and Nag2.Zip files.

George Kaiser

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Many people do have JS turned off (especially after the security issues of late), but you can always add something to the last page of the PDF explaining what you want to tell them, use doc prefs to open on that page by default, and use the JS dialog code to go back to page 1.
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi thill3020,

You could also create a layer that acts as a cover page so if the user does not hit the agree button in the dialog they will only see the cover page. On that cover page you can have a message that tells the reader they must have JavaScript turned on or they cannot view the document. Of course, as mentioned in the previous threads this is only a lite form of security, but the reader would not be able to say they had not seen the agreement dialog in the first place. You can see an example PDF using this methodology at this page-
http://www.windjack.com/products/acrodialogs.php
Scroll down to the "Document License Dialog Example" for a link to the actual PDF.

Hope this helps,

Dimitri
WindJack Solutions
www.windjack.com
www.pdfscripting.com