Ask a Question related to Adobe Acrobat Macintosh, Design and Development.
-
JAY MAC #1
Any way to add Terms and Conditions to a pdf page
What I would like to do is have a Terms and Conditions page that will only reveal the body of the pdf if the user accepts the terms and conditions.
If that isnt possible could I possibly send 2 pdf's one is a terms page that when accepted reveals a password to open the second password protected pdf?
Thanks in advance for the help!
JAY MAC Guest
-
verity search terms
Why is it that verity searches require the AND and OR operators instead of just saying that by default there's an AND between words? For example,... -
Terms Of Service
hey guys im making a site for the first time and i need to know how to write the joining contract? it is NOT a free service. so is there like a... -
Web terms & conditions
Hi All I 'm researching 'small print' for a website - the site has proprietary content written by three/four individuals. Is there a source... -
Terms
Zachary Antolak wrote: what PHP keyword do you use to define one ?-) which one do you prefer ?-) Well... the term used in the manual is usually... -
What do these terms mean?
"Richard Foote" <richard.foote@bigpond.com> wrote in news:NHyT9.20629$jM5.56547@newsfeeds.bigpond.com and I quote: You're not wrong... ... -
graffiti #2
Re: Any way to add Terms and Conditions to a pdf page
Is it only going to be downloaded from a web site?
If so, I'd do that with the web page. Make them agree to terms before downloading the PDF.
graffiti Guest
-
George Johnson #3
Re: Any way to add Terms and Conditions to a pdf page
It depends on how secure it needs to be. For example, you could use JavaScript to control the visiblity of content (using layers, aka OCGs), but this cannot be considered secure. It may be sufficient though, considering your willingness to give out a password, which would also work.
For that latter, you could set up a button with the following JavaScript as the Mouse Up action:
var resp = app.alert("Do you accept the terms and conditions?", 2, 2);
// If the user clicked Yes...
if (resp === 4) {
app.alert("The password is: ABC-123", 3);
} else {
app.alert("Scram!", 1);
}
George
George Johnson Guest
-
JAY MAC #4
Re: Any way to add Terms and Conditions to a pdf page
Thanks for the posts guys.
I came up with a workaround by making the terms page the PDF which has security to password protect attachments. I then attached the PDF file with the content. When the user clicks the I Agree button in the Terms PDF I have an action to make the password for the attachment visible.
Thanks again for the info though ill jot that down.
JAY MAC Guest
-
JAY MAC #5
Re: Any way to add Terms and Conditions to a pdf page
OK the workaround with securing the attachment works but its kinda clunky so I am trying out Georges suggestion with using layers. I brought in a solid colored layer to go over top of the content and what I want to do is after they accept the Terms the solid layer becomes invisible.
The problem I have now is that when I try to add a Set Layer Visibility action to a Mouse Up part of a button I get the error "The target layer states of the selected actions will be set to the current state."
Maybe i have to use javascript on the button instead?
Thanks in advance for your help!
JAY MAC Guest
-
George Johnson #6
Re: Any way to add Terms and Conditions to a pdf page
Here's some good information on controlling layers via javaScript: <http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/create_use_layers/>
George
George Johnson Guest
-
JAY MAC #7
Re: Any way to add Terms and Conditions to a pdf page
I looked at that page and tried to copy paste the line
var ocg = FindOCG(aLayers[this.inc]);
ocg.state = !ocg.state;
to my button Mouse Up action and modifying it with
var ocg = FindOCG("Cover");
ocg.state = !ocg.state;
That didnt work but im sure im doing something wrong.
JAY MAC Guest
-
George Johnson #8
Re: Any way to add Terms and Conditions to a pdf page
You need to read and understand the article. The FindOCG is a custom function that's intended to be placed in a document-level JavaScript. But for testing purposes you can place the function definition (the first bit of code presented in that article), just before the code you're using.
George
George Johnson Guest
-
JAY MAC #9
Re: Any way to add Terms and Conditions to a pdf page
Ah ok ill give that a shot. Sorry for the ignorance, coding makes my head spin.
JAY MAC Guest
-
JAY MAC #10
Re: Any way to add Terms and Conditions to a pdf page
I found exactly what I wanted to do but using InDesign exported layers and the Set Layer Visibility action.
Here it is if anyone is interested <http://www.layersmagazine.com/acrobat-9-adding-layers-to-pdf-documents.html>
I wish I had the time to delve into coding but just dont have the time or patience.
Thanks to all for the help.
JAY MAC Guest
-
Steve_Werner@adobeforums.com #11
Re: Any way to add Terms and Conditions to a pdf page
Great solution!
Steve_Werner@adobeforums.com Guest



Reply With Quote

