Can I set up a form so that there is text inthe fields when the user opens the file?

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

  1. #1

    Default Can I set up a form so that there is text inthe fields when the user opens the file?

    My client is interested in supplying schedules of activities in a PDF, and would like it so that a person can use what's in the document, or replace their own information in place of what's supplied.

    I've set up forms for filling in blanks, but I've not seen if some text can be left in the fields to start with. For example, leaving a "your name" text line in a field where the user clicks on that phrase and it disappears (like you see in a number of forms on web pages).

    Is this possible with Acrobat? If not, we'll probably have to go to a Word based solution, but I'd get better design if I do it in InDesign and add this functionality to a PDF.
    David_Borrink@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. linking form text fields
      hello: does anyone know if there's any way to link text fields in a form? in other words, once the user runs of of space in one field, the cursor...
    2. can you link text form fields in Acrobat 5.0
      product name: Adobe Acrobat 5.0.5 operating system: Mac OS X 10.2.8 RAM: 768MB? (512 and 256) is it possible to link to text form field in...
    3. Controlling the height of form text fields
      hello, I have a design problem. I have a search window on a colored background that is supposed to line up with the main nav bar. The problem is...
    4. Linking two form fields for text flow?
      Is it possible to link two fields in a form so the the user can continue typing and the text will flow from the first field right into the second? ...
    5. Avoiding overlapping of text fields (Reusing one form in the same PDF file)
      I'm not sure whether this can be done or not. BUT I sure hope it can. Well, the feature I'm longing for is a feature that can turn the variables...
  3. #2

    Default Re: Can I set up a form so that there is textin the fields when the user opens the file?

    For text fields, you could use a custom Format script like:

    // If field is blank, display this text
    if (!event.value) event.value = "Your name here";

    Note that the field's value will be blank, but what gets displayed in the field is the text you want to show.

    George
    George_Johnson@adobeforums.com Guest

  4. #3

    Default Re: Can I set up a form so that there is textin the fields when the user opens the file?

    George,

    I'm assuming that this command isn't universal but that I'd be able to add different messages to different fields. Am I right? Is this a Format script that would be applied to each field?
    David_Borrink@adobeforums.com Guest

  5. #4

    Default Re: Can I set up a form so that there is textin the fields when the user opens the file?

    Yes, replace the text string "Your name here" in the sample above with whatever text you want displayed. Any Yes, use a script like this in the Format event of any fields you want to behave this way.

    George
    George_Johnson@adobeforums.com Guest

  6. #5

    Default Re: Can I set up a form so that there is textin the fields when the user opens the file?

    I will check this out. Thanks!
    David_Borrink@adobeforums.com Guest

  7. #6

    Default Re: Can I set up a form so that there is textin the fields when the user opens the file?

    George. That worked very well. I found it very easy to do, and I'm glad to see there are formatting options.

    Thank you for helping me know this is possible. I probably could have dug it up in the help files, but your example script was very helpful.

    David
    David_Borrink@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