Adding text to PDF form Text field

Hello there,
i'm trying add text to textfield in PDF programatically using java.
if text  contain "(" or ")" brakets are not displaying in PDF textfiled,if i convert "(" to "[" then the text is displaying in the pdf textfield.how do I allow "(" inside text.and i'm creating pdf programatically in java.
thanks in advance

hi there,
finally I figer out the problem that was causing,
PDF use's  escape character "\" in front of "(" in the text.
so i replace "(" with "\\ (" in the String using java,that fixes my problem.
thanks 

Similar Messages

  • Texts in pdf form don't appear when viewing in Acrobat nor in Reader.

    Texts in pdf form don't appear when viewing in Acrobat nor in Reader nor when printed after the form has been filled. But the texts appear when one clicks inside the field. What is the solution to be able to print and view all of the texts in all of the fields that have been typed.

    More than likely caused by someone filling out the form with Mac Preview.
    Here's a potential fix: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

  • Adding Metadata to PDF Form

    Hi, I'm trying to add some metadata to a pdf. I have the follow script in the form initialize event:
    if (form1.desc.nodes.namedItem("metadata") == null) then
    var oNode=xfa.form.createNode("text", "metadata")
    form1.desc.nodes.append(oNode)
    endif
    I receive the error message:
    Argument mismatch in property or function argument
    I also tried this code:
    if (form1.desc.nodes.namedItem("metadata") == null) then
    var oNode=xfa.form.createNode("text", "metadata")
    oNode.value = "Test Data"
    form1.desc.nodes.append(oNode)
    endif
    Which gave me this error:
    accessor "oNode.value" is unknown
    It appears that the oNode object is not being created.
    Any suggesting how I can add Metadata to the PDF?

    Hi,
    This is the code I use to place metadata into the pdf file. If you open
    the resulting pdf file using Notepad, the metadata is visible as readable
    text in the file. I'm not sure the same approach can be used to add
    metadata as viewed under Document Properties. We are not using it that
    way. Maybe by changing the node name?
    if ((EMAIL_SUBJECT1.rawValue != "")&&(EMAIL_SUBJECT1.rawValue != null))
            var vDesc=xfa.template.data.desc;
            var oNode1=xfa.template.createNode("text", "EMAIL_SUBJECT1");
            vDesc.nodes.append(oNode1);
    vDesc.nodes.namedItem("EMAIL_SUBJECT1").value=EMAIL_SUBJECT1.rawValue;
    Andrew Zwickl | Worldwide Information Systems |
    Eastman Kodak Company | 1669 Lake Ave | Rochester, NY 14652-4455 |
    VOX: 585-477-1402
    FAX: 585-588-4123
    EMail: [email protected]
    www.kodak.com
    From:
    SI_MSD7 <[email protected]>
    To:
    zwickl <[email protected]>
    Date:
    08/10/2012 06:18 PM
    Subject:
    Adding Metadata to PDF Form
    Re: Adding Metadata to PDF Form
    created by SI_MSD7 in LiveCycle Designer - View the full discussion
    Bruce / Zwicki - or anyone who can assit...
    How did you get this to work? I
    I'm looking for a way to add/inject values (keywords) into the form's
    meta-data by retrieving the info/values from user input.
    To test the above solution, I added the following script to the initialize
    event as referenced, but I'm not sure what is happening:
    if (form1.desc.nodes.namedItem("metadata") == null)
    var oNode=xfa.form.createNode("text", "metadata")
    form1.desc.nodes.append(oNode)
    1. Do I need a field on the page?
    2. What part of the above script affects the meta-data?
    Thanks!
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/4613534#4613534]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/4613534#4613534]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in LiveCycle Designer by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • I have created a PDF form with field but for some reason I cant type in them

    I have created a PDF form with field but for some reason I cant type in them

    May be that the text fields are read-only.

  • Pdf form with fields ppl can type into

    I have a pdf form with fields that are not able to be typed in. How can I edit them so that ppl can type into the field?

    Hi courtneyp58664902,
    I would recommend you to follow the steps detailed on the page associated with this link (http://wwwimages.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-con vert-forms-into-fillable-pdf-c… ).
    I would recommend you to Save the pdf with reader rights enabled [ File -> 'Save as other' -> 'Reader extender PDF' ->  'Enable More tools ( includes form fill-in and save)' ].
    Please let me know if you face any challenges or need any further assistance.
    Regards,
    Rahul

  • PDF form text fields' options change when opened in READER on a MAC.

    I created a PDF form using Adobe X PRO. All fields are UNCHECKED for Property/Options/ "scroll long text". I save and distribute the form as a "reader extended pdf/enable additional features" so it can be saved and returned using READER.
    When a Mac user opens the extended form in Adobe READER, ALL the text fields change to scroll. When he returns the completed form to me, every text field, even signature and date fields, are changed to scroll text.
    What is happening in the transition from PC to MAC?

    Preview is the default PDF viewer on the Mac. It should never be used with PDF forms. Just let them know that they should use Adobe Reader. Provide a link or URL where it can be downloaded and let them know that it's free.
    There are things you can do so that it doesn't work in Preview, but it involves some scripting. If interested in this approach, post again.

  • Inputting Chinese text into PDF form fields

    Hi there,
    I'm trying to input Chinese text into an interactive PDF and although the properties for the form fields are set to Hiragino Sans GB, when inputting the text is appearing in English. Any ideas how to resolve this?

    Staff have been migrated from Windows XP and now have Windows 7 on their PCs. They all now have new versions of Adobe Reader
    (version 11.0.06). In some cases they now cannot insert or update variable data in fields in PDF forms. They are not using online PDFs  -
    they are using PDFs on their PCs. 

  • Blurred Text in PDF Form

    Created a form by converting a pre-existing PDF to a form-fillable one using Acrobat Pro.
    The form-fillable PDF was created fine.
    In editing the form, I changed the text fields to allow multiple lines of text.
    Saved the form as a new PDF filename
    When filling out the form using Reader, most fields allow for text wrapping to multiple lines.
    At the bottom of the form, several fields allow text entry, but then blur the text both when filling the fields, when printing, and after saving under a new file name.
    Ideas, suggestions, etc.?

    Now that I said that, I should revise it to "...it most likely would have happened when you edited the field..." as I recall working on a form sent to me by someone else who had added field using the Form Wizard, and there were duplicated fields, so I suppose it is possible that Acrobat automatically added them.

  • Edit Text in PDF Forms

    I was wondering if someone might be able to help me.
    I have a PDF Form which I created in LiveCycle, I was hoping to use this form as a template form, so all I had to do was to use the Touch Up Tool in Adobe Professional, and change the address.
    The problem occurs when I change the address, as soon as I hit return to add a new line, all the layout on that page goes all over the place instead of where it is actually meant to be!!
    Does anyone know how I can put a line in, without the formatting going wrong?
    Also, to make life easier, if I could change the text in Livecycle, that would be brilliant, the only problem being it doesn't look like there is an option for me to select the text and touch it up like there is in Professional.
    Can anyone help me please? I really don't want to have to create a new form for every company we have listed, I'll be here until 2012 just doing that!!
    Thank for your help in advance.

    That's interesting, I never thought about using that sort of approach, I will definately look in to that further, I have since found the fault in the file, it appears that for me to take a line out, I have to put a space at the beginning of the text in order to remove the rest of the text. Which is really annoying!
    After the text was removed and the pdf saved, I went in to Livecycle and added a new field that way so that I could save individual files.
    What you have taught me though will prove extremely helpful, I will start having a look at doing this in place of what I already have, but unfortunately I can't experiment with it right now, if I need any more advice on this, is there a way fro me to get hold of you outside the forums?
    Ian

  • Invisible text in PDF form

    I've seen this twice now over the last couple of months under Acrobat Pro 9.3.2.
    I've created forms for folks attending an event to complete. They download these forms from a web site, complete them, and click a button I've built into the form to e-mail it to us. They are all downloaded from the same location so everyone is getting the same file.
    I've received back about thirty so far this year and all but 2 are fine.  Those two are the issue. When opened, regardless if opened directly from the e-mail or if saved locally first, they appear blank. Only when placing the cursor in a field will the text in that field become visible. As soon as the cursor is moved, either by mouse or tab key, the text will again disappear and the text in the field the cursor lands on will become visible.
    The form is also blank when printed.
    I have searched these forums and found only one other case where this was happening, about a year ago under Version 8. However, the issue there is not the case here. as that had to do with field backgrounds. None of my forms have field backgrounds set. And the fact that 28 out of 30 forms are functioning properly, and the fact that I've been using this form for a few years now, pretty much limits the possibility that it is a systemic issue with the form itself.
    Anyone have any idea what might be causing this??

    There have been a few posts in the recent past about this.
    Typically the answer turns out to be that they are using a third party PDF reader to fill in the forms (like Mac Preview...etc.)
    There hasn't been any solutions that I've seen short of putting a notice near the link stating they must use Adobe Reader.

  • Embedded SWF in PDF, "form" text transfer to said SWF

    Thanks in advance for your help.
    { also posted in the Flash Professional forum }
    How to have a SWF (embedded in PDF) load a form text field: "value" ?
    Objective: given;
    ~ SWF is embedded in a PDF
    ~ form field in PDF = "name1"
    Coding task;
    how to script the SWF's text field so that it can use the PDF's form text field
    while embeded in the PDF (that has a form field / "value").
    many thanks
    Dale
    Fremont, CA

    ActionScript in the SWF has direct access to the Acrobat JavaScript model through the ExternalInterface object.
    Read this blog:
    http://pdfdevjunkie.host.adobe.com/RMA1_acrossTheBridge.shtml
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • Creating spaces in PDF form- text is too close together

    Thank you in advance for all of your tips.
    I am a novice to Adobe PDF form creator and I need some assistance. I am creating the forms and I have all my boxes set, but the issue is that I can not find where to space the text boxes from the top line to the bottom. (As we would do with the enter/return key) I have the full letter page to fill but when I print the form it's on a 1/4 of a page and I need all the text to fill the whole page. I don't necessary want to enlarge the boxes to fill the space.
    Where can I create extra spacing between each top and bottom lines?
    Michelle

    Only the creator of that form can do that.

  • Disappearing text in pdf form

    Hello,
    we have an application using pdf forms. The reader 9..1.0 reads some data and forms are filled out.
    there are 3 pages datas an 10 pages  for entering text. Each page contains automatically name and birth date of a patient, on the 10 pages the result of treatment is documented.
    Now, sometimes, after opening the text again and changing the text ( e.g. the patient goes home after a week and something has to be entered) the saved text is gone, instead the old text is there though it was said "save". Also some pages are missing ( of the old text )
    Furthermore, today I saw that there is a lot of text at the end of the form. Means, there are 10 pages text, let´s say 6 are filled, all have name and date filled out by our program but enough space to write on page 7. There is a button "reorganize text" and after that there is a message saying that the text is too large for the 10 pages and that the text is hidden. Indeed, all the text on page 7,8,9 and 10 is doubled from the beginning. when I tried to delete some text, there is again text and text and coming into the form and after an hour I could´n delete all the text which is "behind" the real text.
    my first thought was that somebody didn´t insert a text block for lets say 30 lines but copied the whole text several times. But the people working there are much experienced.
    So does anybode has a good inea? I know this is rather complicated but because these text are report of medical treament is is important that nothing is lost and that the text is okay. BTW it worked all the years starting with approval 5.0  over adobe 8 and now 9.
    thanks Joachim

    Export the form data from Menu > View > Tools > Forms > More Form Options > Manage Form Data and save (it will save as a pdf). Then import the form data again from the saved file.

  • Preview: PDF Form Text Boxes Shift

    I am putting together a PDF form using Adobe Acrobat Pro and testing it in Preview.
    In Preview, the check boxes and radio buttons work fine, but when I click on or tab to a text box, the text box shifts downward and becomes somewhat wider than the box I drew. Multi-line text boxes become wider and shift upward.
    Why does this happen? Is there a way to keep the text boxes in place?

    Same here. The boxes are shifted, to varying degrees, further down than in Acrobat Reader. This is a shame because I love Preview.
    Anyone?

  • PDF Form Text Size

    When I fill out a fill-able text box in a pdf form, the information for a number of boxes is longer than the space shown for the answer.  I am trying to find a way to adjust the text size with no luck, too. 
    How can I make sure the text provided in each text box will show when I save / print the fill-able form?

    Only the creator of that form can do that.

Maybe you are looking for

  • How do I get my pdf form to distribute?

    I just purchased Acrobat XI Pro, revised a pdf form from previous version X (a trial version of the program) and when I try to Distribute I keep getting the same error message "The filename you specified is not valid because it does not include a .pd

  • JQuery drag and drop image order with save to database?

    We have a property image gallery on our website and a CMS that allows us to add/edit images in the gallery. Image file names are stored in a database table: imgID (int) propertyID (int) imgfilename (nvarchar) displayorder (int) Images are displayed i

  • How to change the paragraph style of every paragraph that only contains an anchored object?

    Hi, I have a document in word that needs to be converted into indesign. The document containts instructions, each step followed by an image. I've managed to import the document into Indesign, and applied a paragraph style with numbering to everything

  • Photoshop CS3 Upgrade

    I currently have Photoshop CS2 and am considering upgrading to CS3. If I get the CS3 upgrade, will it support the Nikon D300 RAW without having to download the Camera Raw 4.3.1? A second question, can Bridge be used with Elements 6?

  • Cisco RV016 making connections drop

    Hi, My cisco rv016 is currently set to load balance 2 lines and soon 3. However some connections that are active here are with servers and FTP clients. With load balancing active it appears that people are getting their sessions timed out rather freq