PDF forms - underlined variable text

Hello Everyone,
I am trying to create a PDF form with variable text fields in Acrobat 9 Pro and I see there are very limited possibilities in the text formatting. I can specify font, size, color, border, but there is missing any option how to switch on the underlining of the text. Is there any way how to achieve this?
Thanks in advance for any hint.
Regards,
Jan

You can add some JavaScript to your script that imports the data from the database and format the inserted text by using the span object to apply the underline property. The following ecample is from the Acrobat JavaScript API Reference.
Example
Write rich text to a rich text field using various properties. See the Field object  
richValue property for more details and examples.
var f = this.getField("myRichField");
// Create an array to hold the Span objects
var spans = new Array();
// Each Span object is an object, so we must create one
spans[0] = new Object();
spans[0].alignment = "center";
spans[0].text = "The answer is x";
spans[1] = new Object();
spans[1].text = "2/3";
spans[1].superscript = true;
spans[2] = new Object();
spans[2].superscript = false;
spans[2].text = ". ";
spans[3] = new Object();
spans[3].underline = true;
spans[3].text = "Did you get it right?";
spans[3].fontStyle = "italic";
spans[3].textColor = color.red;
// Now assign our array of Span objects to the field using // field.richValue
f.richValue = spans;

Similar Messages

  • Would like to export data from PDF form as plain text for other applications.

    If this has been answered, I apologize and hope that someone will point me to the right place to see the answer.
    PROBLEM: I have created a PDF form to be filled out and returned via email to specific email addresses. I want that email to show the data being returned as plain or rich text (either will do) in a simple email. I need this because the information will be used in  different applications (print, web, etc...). I just need text that can easily be cut and pasted by people not that sophisticated in their use of computers.
    I understand this may be a javascript function in the Actions menu of the Submit button. But, I rarely do forms through Acrobat and this is new to me.
    Any helpful response is as always, greatly appreciated.
    --C

    GKaiseril wrote:
    "You could export the from data as a tab delimited text file and then import that data into an SQL database"
    I could say as I have to do, in detail?
    As could do (adobe acrobat) a button(tab delimited text file) to export a completed form from the adobe reader?
    greetings and thanks.

  • Filling out PDF forms with black text in preview

    I am filling out my 1040 using apple preview and when I type something in a field, it is in dark blue font. How do I change that to black font?

    http://www.graniteschools.org/C13/Professional%20Growth%20and%20Evalua/Document% 20Library/SEWE20050602.pdf

  • IOS pdf viewer cannot display text that was entered in acrobat forms???

    hi.
    i have a blank PDF form. i enter text into this form on my mac, i use the latest adobe acrobat or adobe reader to do this. i email this filled out form to a person. the person uses an iphone or ipad to view his mail. he is a novice user, no extra apps installed. the user opens the attached pdf (default ios pdf reader) and the form is displayed.
    but – not a single word i entered into the form is displayed.
    it seems that forms that are filled out with acrobat/reader can't be correctly displayed on an iphone/ipad? They show up blank!
    I tested this with a few documents, same result.
    any help?
    Cheers!

    The basic readers might not process field forms, just the basic context of the PDF.
    It is best to add an app that can process Acrobat PDF forms, not just read them. I would look at PDF Expert since it appears to be the most compatible and runs custom JavaScripts in forms. Another option would be the Adobe Mobile PDF Reader.
    Did you create the PDF form?
    PDF forms can be created by Acrobat, AcroForms, or using LiveCycle, XML forms. The majority of iOS or android mobile devices cannot process XML forms.
    Trying to read PDFs on mobile devices requires testing of the PDF to fix display issues and if you are using forms the JavaScript within forms needs to be tested for compatibility with various app readers to see if the form fields and code even work.

  • Unlinking Copied Fields in a PDF Form

    I've created a PDF form with 100+ text fields which have identical size and properties.  To place those fields in the form, I simply copied them, giving each one a different name.  In the sample below, the fields are the blue squares.
    When I fill in the first field, that value appears in the other fields.  For example, when I keyed in the number 3 above, that number automatically appeared in the field directly below.  How can I unlink all of them so that each field might have a unique value which doesn't automatically appear in the other fields? 
    I realize one answer would be to tediously create each field as a separate entity, but that would so time consumming. 
    Many thanks for any suggestions!

    Dear George,
    Many thanks for replying so quickly.
    I tried your suggestion.  When I right-clicked on one of the 100+ fields in the form and selected "place multiple fields" I received the following error message:
    I'm not sure what to do next.  Would appreciate your suggestions.
    Thanks,
    Doug

  • CS3 Lifecycle PDF form issues opening and blank pages

    I downloaded a PDF form and added text fields, numeric and calculated fields (FormCalc) using Lifecylce in CS3.  I now have CS5 and Lifecycle ES  When I use the original form and input data it calculates and looks fine.  I can open it no issues.  I email it to my clients, some say the fields are blank, some say they get an error opening it, others have no issues.  Do I need to make some sort of changes to the PDF file, or maybe the ones that can't open or see blank don't have the correct version of Reader?
    I can provide the file if necessary

    Everything seems to be in order .....can you send the problem PDF to [email protected] and I will try to reproduce the issue. Please include a description of the issue in the email as there is no corelation between the email and this forum.
    Thanks
    Paul

  • Issue passing values to text symbols in Dynamic text PDF forms

    Hello Everyone,
    I am facing a problem related to Dynamic texts in Adobe PDF forms (Text node of type include text). I am able to pass the dynamic values to the Text node properties but i am not able to pass the values to Text symbols inside the Text node. When tested it says the field not found. I have the same structure and field in the CONTEXT as that of the text symbol. The problem i see is because in PDF the field names have $record.(fieldname) ?
    Please share your thoughts if anyone has faced similar problem or know how to handle it.
    Thanks a million in advance,
    Chandu

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

  • End user have ability to change font style in text field of interactive pdf form?

    Does the end user of an interactive pdf form able to change the font style, i.e.: make something bold or underline a word in a text field?
    I am making a form with text fields and the end user would like the ability to make something bold or underline it.. I do not see anywhere in acrobat that allows styles to be changed.
    I have created the form in Indesign > saved it as an interactive pdf and brought it into Acrobat.

    Thank you for the quick response! Do you set this in Indesign before exporting or do you set this in Acrobat? I am in Acrobat 10.1.10 and when I go to properties it doesn't give me  'options' to choose from.

  • 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. 

  • Formatting text within a distributable pdf form

    Hi all,
    I am using LiveCycle Designer 8.0 to create a pdf form for people to fill out. I want them to be able to use rich text for their responses so that, for example, they can italicize or underline the text that they're entering within the text fields.
    Within LiveCycle, I've made the fields rich text (instead of plain text), and, in fact, you can use rich text when filling out the form with Acrobat.  The problem is that, after the form is submitted with Acrobat, the text reverts back to plain text and all formatting is lost (so, for example, someone can fill out the form using bold, underline, italics, different fonts and typefaces, etc., but once (s)he submits the form and it is sent to me, i only see what they filled out in plain text).
    Does anyone think they can help?  I've checked the forums for similiar posts, like this one, but haven't come across solutions for my situation.
    Thanks in advance

    The form is set to submit the entire pdf file (that is, the pdf, with the fields completed, is sent to my inbox in an email message, and, upon opening the pdf, i have the option of adding the data/completed fields to a dataset).  Unfortunately, the pdf seems to lose any formatting once it's submitted.
    You're right--perhaps i should also ask in the LiveCylce Designer forum.
    Thanks

  • 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.

  • How can I export a PDF form and the filled in fields to a text document?

    OK, so I have a situation.  I need people to be able to open a reader-enabled PDF form, fill out the form fields, and then export the filled-out PDF form to a basic text document.  This seems easy since Adobe Reader can save to text.  The problem is, the answers in the form fields do not show in the text file!  Each radio button shows as yes and no, and there is no indication in the text file which one was selected.  In addition, the form fields are not exported next to the questions on the form.  I tried flattening the form in Adobe pro, and that did not work either.
    How can I create a fillable form for Adobe Reader, and then let the user export their answers AND the questions on the form to plain text?

    OK, so I tried this as a starting point, and assigned it to a button on page 3 of the form.
    p=0;
    console.show();
    console.clear();
    for (var j = 0; j < this.getPageNumWords(p);j++) {
          var word = this.getPageNthWord(p,j,false);
          console.println(word);
    This gives me all the words on the first page not in fields, and each word goes on a separate line.  Now, characters in the document such as "&" or ")" cause the rest of the word to go on the next line down.
    Next, I tried this:
    console.show();
    console.clear();
    for (var j = 0; j < this.getPageNthWord(j);j++)
          var word = this.getPageNthWord(j,false);
          console.println(word);
    This only gives me the first word on page 3, the page the button is placed?
    What I need to do is run the code and place words on one line until the code hits a keyword "var cKeyWord1 = “Key1” for example?, then insert the value of field one, Start a new line in the console, restart the code where it left off until it hits the next key word "var cKeyWord2 = “Key2”, insert the value of field two, add a new line, and on and on.
    Is this possible?

  • I filled in a fillable pdf form and when i print it, the text in the fillable section gets cut off.

    I filled in a fillable pdf form and when i print it, the text in the fillable section gets cut off. What do I need to do to get the entire text to be printed. Any help is appreciated.
    Thanks

    What has this to do with Pages? You probably did this in Preview.
    Peter

  • Use of text Boxes to programmatically update a PDF form

    Hello all;
    I am a very experienced programmer but I do not have much experience with
    PDFs , Acrobat, etc.
    I have come up with what I believe is my best solution based on what
    I have learned about PDFs and Acrobat.
    I am trying to do what seems , to me, like a very simple thing.
    Basic Programming Logic ....
    Develop a C# program that runs on a local client.
    Reads in an existing PDF file - which has been authored using Acrobat 9.0 Professional to have Text boxes that have meaningful names ... ie - recognizable names.
    Read some huge data file in EDI - or XML format - from some source or another.
    Update the "template" PDF file using this information by locating the appropriate text boxes named in the PDF file itself and print out as many pages of the PDF form as needed with the electronically received data.
    Basic Algorithm Logic
    I create a linked list in memory of all the internal segments of the PDF - carefully preserving all the necessary information and using the recognizable names of the text boxes - I re-write only the information that will appear in the text box and create a newly created and updated version of the PDF file and print it out. Repeating this for as many times as needed.
    This is my expected approach .
    Is there any reason why this should not be done or used ?
    Thank You , in advance, for your assistance.

    I see - <br />Isn't there an exisitng plug-in or other facility within the current Acrobat reader to read XML data ? <br /><br />I just tried saving off saving off an exsting PDF file as xml<br />using Acrobat 9.0 professional using <file><Save As Xml> and it worked - the output was realistically XML data - with a schema , etc. and recognizable heirarchical relationships, etc. <br />but it was not readable ....  <br />Isn't there an existing Adobe facility which allows it to read in the xml format that it creates ?<br /> <br />This is quite close to what I am trying to implement.<br />I'll bet that the developers have this little item at their disposal and the marketing department isnt even aware of the market potential - <br />If not , then I would like to suggest a new, inexpensive (add-on , plug-in, etc)  enhancement to the Acrobat reader -  <br />A utility that will read in the XML data format that Acrobat Professional generates ... <br /><br />I am being quite serious - there is a great need for this and it would serve the needs of your already existing clientelle - quite nicely .   (namely --- me) :)<br />I hope that you can either - pass this along to the marketing groups -- (I volunteer to Beta the software) <br />or pass me along to the required Third Part you have alreeady mentioned ... (I am hoping for Beta status ) <br />Thanks for the help <br /><br />Cheers

  • I have a PDF form that I want to pre-fill multiple fields with example text that disappears onFocus. Is there a way to do this?

    Pretty much what my subject line says. My client wants example text in the fields of a PDF form that will disappear when the cursor enters the field. When I try this with show/hide layers, the layer becomes visible as soon as I enter form editing mode, and the action doesn't work properly. Any help? I was able to get it to work with a single field, but multiple fields with example text on multiple layers doesn't work for some reason.
    Thanks for any help.

    Hi Jeffrey ,
    You need to use a custom Format script for the field.
    Regards
    Sukrit Dhingra

Maybe you are looking for