Any way to add Terms and Conditions to a pdf page

Ask a Question related to Adobe Acrobat Macintosh, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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,...
    2. 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...
    3. 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...
    4. 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...
    5. 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... ...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

  7. #6

    Default 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

  8. #7

    Default 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

  9. #8

    Default 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

  10. #9

    Default 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

  11. #10

    Default 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

  12. #11

    Default Re: Any way to add Terms and Conditions to a pdf page

    Great solution!
    Steve_Werner@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139