Adobe Acrobat 5: Javascript question: How do I create a text form that...

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

  1. #1

    Default Adobe Acrobat 5: Javascript question: How do I create a text form that...

    I recently came across a pdf file, its a regular page with forms. Nothing fancy I guess. However, the forms were set so that when you place your cursor over the form and click, the text box will show color.

    I check the settings and I found this:

    On Focus:Javascript:ChangeColor();
    On Blur:Javascritp:ChangeColor();

    So when I tried to do the samething, I receive a error that reads:

    "Acrobat Database Connectivity Built-in Functions Version 5.0
    Acrobat EScript Built-in Functions Version 5.0
    Acrobat Annotations / Collaboration Built-in Functions Version 5.0

    ReferenceError: ChangeColor is not defined
    ReferenceError: ChangeColor is not defined
    ReferenceError: ChangeColor is not defined"

    What am I doing wrong? I am not familiar with Javascript.

    Thank You

    Daniel A.
    Daniel_Ayala@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. How do I create form fields like buttons,list box and associate JavaScript with thosefields?
      IS it possible to create form fields like buttons, list box using PDFL SDK? How do I associate JavaScript with these form fields and also on document...
    2. Word 2008 Form to Adobe Acrobat Professional 8 Form
      Hi all, Any tutorials on creating forms from Word 2008 to Acrobat Professional 8. I have several forms in Word 2008 and would like to create PDF...
    3. edit text with adobe acrobat 5.0
      hi everyone have adobe acrobat 5.0 and when i try to edit my text adobe pops up a warning message saying "warning: you cannot edit text in this...
    4. How do I create a document library using Adobe Acrobat 6.0 Pro?
      I need to create a documents library using Acrobat 6.0 Pro and was told that it is possible however, I have never used it before and was wondering...
    5. Warning 20225. Adobe acrobat 6.0 setup was unable to create a new item.
      When i try to install acrobat 6.0 over acrobat 5.0 or 4.0 on windows xp it comes up with the following message: Warning Adobe acrobat 6.0 setup...
  3. #2

    Default Re: Adobe Acrobat 5: Javascript question: How do I create a text form that...

    There is probably a document level javascript that defines ChangeColor as a function.

    A document level javascript can be called by and object in the document.

    Click on Tools->Javascript->Edit All Javascripts.

    This will display the document level Javascripts as well.

    You need to put those into your own document to make it work.

    For more information on Javascript, click on help -> Adobe Javascript Guide.

    Gerry
    Gerry_Heinemann@adobeforums.com Guest

  4. #3

    Default Re: Adobe Acrobat 5: Javascript question: How do I create a text form that...

    Gerry,

    I understand what you mean now, I got my document working now. I simply went into the document I was trying to copy and extracted the script and now everything works.

    THX

    Daniel
    Daniel_Ayala@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