Filling in Rich Text fields in PDF

Is it possible to fill in RichText fields in a PDF from Coldfusion? I need to have certain words bolded, etc. I created the form in liveCycle and the field in question has Rich Text selected Field and Data format. When I assign data to the field through ColdFusion, the text is always just plain text. Any ideas?
Matt

Hi,
Thank you Linda Li. I saw the URL link you sent me on your reply
http://office.microsoft.com/en-in/infopath-help/insert-a-rich-text-box-HP010080917.aspx
Our SharePoint 2010 InfoPath 2010 form is working. 
Where i need help is the emails sent from SharePoint Designer WorkFlow Email function - The SharePoint site owners do not want to send by email PLAIN TEXT data from the InfoPath RTF they want to send by email Rich Text value look ups from the RTF.
SEND E-MAIL IN A WORKFLOW
http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
everything works fine - except aligning the RTF with the other field look ups. our email has an HTML table where we have plain text fields, date fields, and RTF - I need with INLINE CSS STYLE code since remote CSS or any type of CSS does not work only INLINE
CSS worsk on SP WorkFlow Emails
EXAMPLE: you can create a Workflow Variable that has a simple HTML table, and when SP workflow sends the email the values in the cells do not line up, if the RFT values are blank from the InfoPath form the email table looks greate, as soon as you type any
value in the InfoPath form RFT the email does not line up to the any of the other html cell text or other Look up values to the InfoPath form.
<table>
<tr><td>Title:</td><td>[%Current Item:Title%]</td><td>[%Current Item:Notes1%]</td></tr>
<tr><td>Created by:</td><td>[%Current Item:CreatedBy%]</td><td>[%Current Item:Notes2%]</td></tr>
<tr><td>Date Created:</td><td>[%Current Item:Created%]</td><td>[%Current Item:Notes3%]</td></tr>
<tr><td>Modified by:</td><td>[%Current Item:ModifiedBy%]</td><td>[%Current Item:Notes4%]</td></tr>
<tr><td>Date Modified:</td><td>[%Current Item:Modified%]</td><td>[%Current Item:Notes5%]</td></tr>
</table>
-Isaack

Similar Messages

  • How to change the font used to fill in a text field in an interactive form.

    Can you please tell me how I can change the font that comes up when you go to fill in a text field in an interactive PDF?
    Can this be set in InDesign or does it have to be done in Acrobat?

    Only in Acrobat. Tools > Forms > Edit. Double-click on the text field to change its Appearance.

  • MS SharePoint 2010 Designer Workflow Email - Enhanced Rich Text Field look-up values on HTML email have large spaces

    MS InfoPath 2010 form with RTF (Rich Text Fields)
    MS SharePoint 2010 Custom Library
    MS SharePoint 2010 Designer Workflow Send Email
    http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
    https://www.nothingbutsharepoint.com/sites/eusp/pages/creating-html-emails-with-spd-workflows.aspx
    Hi all of the above work, our question is how to control the RTF (Rich Text Field) look up values to the InfoPath 2010 form in the HTML email?
    How to FORMAT the RTF look up value? in the HTML email
    EXAMPLE
    we have a InfoPath 2010 form published in the SharePoint 2010 custom list library there are 5 RTF fields (Notes1, Notes2, Notes3, Notes4, Notes5) there are other plain text fields, date fields, and other field types in the form
    We use a HTML table to make the email look like the InfoPath form, so when the users fill out the form and they get the email notification everything looks the same.
    Our problem is the EXTRA LINE SPACE in the RTF look up values
    We want to remove any leading spaces, and line spaces between HTML table cells
    Our Workflow has the HTML in a Workflow variable, as you know it does not support remote CSS it has to be in-line style for any formatting we want all cells to have
    valign="top" the email should align at the top of the cell, all field types do except the RTF look up values they make the email look bad and they contain a lot of white space.
    Please test this in your enviroment 
    <table>
    <tr><td>Title:</td><td>[%Current Item:Title%]</td><td>[%Current Item:Notes1%]</td></tr>
    <tr><td>Created by:</td><td>[%Current Item:CreatedBy%]</td><td>[%Current Item:Notes2%]</td></tr>
    <tr><td>Date Created:</td><td>[%Current Item:Created%]</td><td>[%Current Item:Notes3%]</td></tr>
    <tr><td>Modified by:</td><td>[%Current Item:ModifiedBy%]</td><td>[%Current Item:Notes4%]</td></tr>
    <tr><td>Date Modified:</td><td>[%Current Item:Modified%]</td><td>[%Current Item:Notes5%]</td></tr>
    </table>
    I could not update the question below to the proper forum section. that is why i am asking again.
    http://social.technet.microsoft.com/Forums/en-US/a7918bfb-9166-4bdb-828c-132a0c7611e3/ms-sharepoint-2010-designer-workflow-emails-huge-lines-paces-in-rich-text-fields-values-from-ms?forum=sharepointcustomization
    -Isaack

    Hi IssackB,
    perhaps you may try this article:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f8fa2a11-9f74-4dd2-b277-21ce872fdcb2/can-we-add-rich-text-editor-to-the-sharepoint-designer-2010-workflow?forum=sharepointcustomizationprevious
    there are some notes that perhaps you may check:
    Use the same font for all the controls to ensure consistent spacing between rows.
    Choose Size from the Format menu, and then choose To Fit from the menu that appears. This adjusts the size of each control, depending on the font set for the data that appears
    in the control.
    NOTE: The Print Preview and Output To commands use different algorithms for calculating text width; therefore, the text may occupy more or less
    space in the RTF file.
    Reduce the amount of blank space above and below the report controls. Any vertical
    space between the controls is converted to whole lines
    in the RTF file. For example, a
    space of .02 inches can increase to .1667 inches in the
    RTF file.
    Make sure controls on the same output row are not too close to each other or overlapping. This can cause the Output To command to omit the controls or to align the columns incorrectly
    in the RTF file.
    Use the Align command from the Format menu to ensure that a row of controls is aligned properly on the report. If a row of controls is not aligned properly, the Output To command may place the controls
    in different rows, causing extra blank
    spacein the RTF file. 
    and please have a check there are updates for exchange 2013 and will be available with the upcoming release of CU4 for Exchange 2013, that stated the format rtf was saved instead HTML. http://support.microsoft.com/kb/2862739/en-us
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Rich Text Field in HTML

    I need to design an xdp form that can be rendered in HTML and which allows the user to format text field content. I created a text field control with data format of xhtml. In Adobe Acrobat Professional I can use CNTRL-E to open the "Form Field Text Properties" toolbar. Will this work in the web browser when the form is rendered as HTML?
    Also, is it possible to insert a hyperlink into a rich text field when rendered as HTML or PDF? Are hyperlinks even supported in text fields of forms designed using LiveCycle?

    hi
    another way to do it is to specify RenderFormat property of Content by search web part (it is not available from UI, only programmatically or declaratively):
    <property name="RenderFormat" type="string">&lt;Format Type=&quot;HTML&quot; /&gt;</property>
    Format is very important and it should be exactly like shown above. Check the following post for details:
    Problem with trimmed html content in search index in Sharepoint 2013.
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • InfoPath form, rich text fields, "There was a form postback error" InvalidOperationException, There has been an error while processing the form

    Using InfoPath 2013 browser enabled form.
    I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
    To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
    occurs), then back to original field to delete the contents (to raise the validation).
    I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
    There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
    Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
    I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
    I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
    checking?

    Hi,
    I have done a test in my SharePoint, and I met the same issue with you.
    I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank".  I put some content in the RT field, then delete the contents, I got the error message:"there has been an
    error while processing the form."
    Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
    OFFICE14\htmlchkr.dll" will solve the issue.
    https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
    But I just disabled "cannot be blank", and it solved the issue.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Caml query to retrive keyword from rich text field

    hi friends
    i am using below caml query to retrieve data from title field and Rich text field(Definition) 
    <View>
    <Query>
    <Where>
    <And>
    <Or>
    <Eq>
    <FieldRef Name=\'Title\'/>
    <Value Type=\'Text\'>'+letter+'</Value>
    </Eq>
    <Contains>
    <FieldRef Name=\'Definition\' />
    <Value Type=\'Note\'>'+letter+'</Value>
    </Contains>
    </Or>
    <Neq>
    <FieldRef Name=\'status\' />
    <Value Type=\'Text\'>Not approved</Value>
    </Neq>
    </And>
    </Where>
    <OrderBy><FieldRef Name=\'Title\' /></OrderBy>
    </Query>
    </View>
    this query is working fine. But it is retrieving some extra fields also which doesn't have the queried string. and even it is retrieving keyword from image urls which are present in rich text field. 
    Please help me to retrieve key word from plain text of rich text field.

    Hi,
    According to your post, my understanding is that you want to use caml query to retrive keyword from rich text field
    By design, when specifying a ViewFields clause, values for these fields are returned, together with a few system columns like ID, Created and Modified.
    If you query rich text field, it will return the field with HTML tags.
    To retrieve key word from plain text of rich text field, you need to use regular expression to remove the HTML tags.
    You can use the code below:
    using (SPSite site = new SPSite("http://sitename"))
    using (SPWeb spWeb = site.OpenWeb())
    SPList spList = spWeb.Lists.TryGetList("ListName");
    SPQuery qry = new SPQuery();
    if (spList != null)
    qry.Query =
    @" <Where>
    <Contains>
    <FieldRef Name='Rich_x0020_Text' />
    <Value Type='Note'>caml</Value>
    </Contains>
    </Where>";
    qry.ViewFields = @"<FieldRef Name='Title' /><FieldRef Name='Rich_x0020_Text' />";
    SPListItemCollection listItems = spList.GetItems(qry);
    foreach (SPListItem item in listItems)
    string src = item["Rich_x0020_Text"].ToString();
    Regex htmlReg = new Regex(@"<[^>]+>", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    src = htmlReg.Replace(src, string.Empty);
    Console.WriteLine(src);
    Console.ReadKey();
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Rich text field will not show proper font attributes! (Bug? - RTF OTF font handling)

    I created two text form fields (rich text)...
    In Windows 7, Write program (using it to format the rich text content)... I edited my two lines.
    Line one: mix of two font sizes and a few attribute changes... pasted into the first text field perfectly.
    Line two: similar to the above... pasted into the second text field but the font is appearing in bold! It is not bold in the source, nor is it preset in the text field properties! I even pasted it back into Write AND Word and it pastes as I intended it.
    Why is Adobe doing this? I even tried to toggle >Text Style > bold on/off, clear formatting... these functions do not work!
    If I bring up the properties toolbar (Ctrl-E), bold is toggled on but I cannot toggle it off, I can add underline, I can change the font size.
    UPDATE: It seems that Adobe Acrobat is NOT reading the OTF font correctly! If I change to a different font, in the same family, the problem changes from set on bold to set on italics!
    It is specifically related to the font I am using but is ONLY a problem when using Rich Text fields. In other words, the entire font family works perfectly if I inserted a text box or use the font family in any other Adobe product.
    I have submitted a bug report: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en

    Another possibly revealing clue is that when I go to Text Field Properties > Appearance tab > Text / Font, I see the entire family of this particular font. However, when editing the text in the properties toolbar (Ctrl-E), only a small sub-set of this font family appears and the attributes behave in an odd manner. Example: normal font appears as italics but if I switch on BOLD, the italic attribute is gone... and other strange attribute problems.

  • Rich text fields, field locking, and form saving/re-opening

    I have a LiveCycle form that has 2 text fields (email and info) and a button. When the button is pressed, the 2 text fields are set readonly and the button is set hidden. A rich text field is populated to provide a mailto link using the email and info text fields:
    form1.firstpage.HyperlinkSF.rtField.value.exData.loadXML(sRichText, false, true);
    This appears to work fine, but when I save the form and re-open it, the readonly fields are now editable and the button has re-appeared. If I remove the functionality associated with the rich text hyperlink, the form correctly re-opens with the readonly fields set readonly and the button is not visible.
    Any idea why populating a rich text field is affecting the form state on saving/re-opening?

    Thank you Bruce for your very helpful links.
    I see that I had incorrectly formed the rich text body tag. I had omitted:
    xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    I had also been unable to get the &body= of the mailto working, and see that I should have had &amp; as in:
    var sURL = "mailto:" + sTo + "?subject=" + sSubject + "\&amp;body=" + sBody;
    All appears to work as expected. Great links. Thanks!
    Robin

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi!
    I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop down list can be associated with an object in the XML file. So, when I make a choice in the drop down list, a corresponding object value is fetched from the XML file and put in a text field on the form.
    How to do this is described by Stefan Cameron here:
    http://forms.stefcameron.com/2006/07/29/dynamic-properties/
    There's a snag, though, and to describe it more clearly:
    The XML file contains three types of objects: role, role number, and role cost center. Of these I use the first and the third, i.e. the role and the role cost center. The drop down list contains the roles, and when I select a role, the corresponding cost center is filled out in the text field. So far, so good!
    But -- if the cost center has the same value for two or more roles, all of these roles "bounce back" into the drop down list, that is, they are all selected in the drop down list. How many of these you can see depend on the height of the drop down list -- if it's low you'll only see the first one.
    If I modify Stefan Cameron's data in his example I get the same behavior, so the problem seems to have to do with how XML data are fetched.
    I'm sure there's a workaround, but I can't find it! I've spent many hours browsing the web without finding anyone with a similar problem.
    Any suggestions appreciated!

    Although your issue is far beyond mine, I was hoping you can help me out.....
    I need to create a drop down list of names which I wish to somehow link to an Excel spreadsheet.
    Please let me know the steps I need to do.  I've tried several things, but nothing seems to work and I'm not sure what I am doing wrong.
    Thank you

  • Difficulty creating rich text fields with autoresizing text on my mac (Mavericks?)

    I'm a new user so I could be making a simple error, but here goes:
    I'm trying to make the text fields in a pdf form be rich text with the font autoresizing as needed, but these setting seem not to save when I do this on my new mac desktop. When I open the same file on my iPad, the field appears to have the rich text setting preserved and resizes text as necessary; this also isn't a problem on my work commuter (PC with windows)*.  It's very weird; I change the option settings to allow rich text and uncheck line scrolling, then lock the changes, then try to input text and the settings appear not to have taken effect. When I reopen form editing, the old settings (multiple lines, scrolling) are checked again even though I locked it. Hopefully someone out there knows why this might be happening?
    *When I email the iPad pdf file to myself and open on mac, the text seems to "autocorrect" the form field text back to multiple lines/scrolling, and looks terrible.

    I suppose a possible solution is if there's a way to add the text form fields in Illustrator... or if there's a way to add an invisible marker (besides adding a rule line) that Acrobat will automatically read as a text field location?

  • How to change the font used to fill in a text field.

    Can you please tell me how to change the font that comes up when a text field is filled in?
    Can I change this setting in InDesign or does it have to be done in Acrobat?

    It must be done in Acrobat. InDesign only allows Times Roman for some reason.
    To change it in Acrobat 11, open the PDF and select: Tools > Forms > Edit
    and select the field(s) you want to change, bring up the field properties dialog, and look on the Appearance tab for the font dropdown.

  • Create the table in the rich text field

    Hi All,
    I am facing a problem with the copy paste of a table with content on to the textbox with rich text format from the word document in adobe livecycle designer.Like if you paste the table in the rich textbox , the border of the table will get collapsed and only the content will be pasted.So how can we avoid the collapsing of the table border.
    Here is the exact explanation of the problem
    step1: Drag and drop the textbox and check the allow multiple lines checkbox and increase the size of the textbox as shown. Change the field format to rich text.
    step2:Now copy a table with some content  from the word doc.
    step3:And paste it to that textbox field in preview PDF window.
    Here you can see the whole table structure got collapsed.
    so how we can get the whole table structure with the rich textbox??
    Thanks

    And the next question would be: What tags does it support?
    Answer: LiveCycle supports a subset of XHTML.  This subset is outlined in section 27 (Rich Text Reference) of the Adobe XML forms specification document found on the Adobe Developer XFA Resources page.
    Ref: http://blogs.4point.com/rob.mcdougall/2009/01/sending-rich-text-to-livecycle-es.html

  • How to collapse unused text field in PDF form

    Hi all, may i know how to collapse unused text field in a PDF form. Etc, we have alot of description line for user to enter the info, but some line will be left unused, so i was wondering whether can i hide those unused text field. But when i need them, i just expand it and use it.

    I don't think w/o UI Customization it is possible.
    UI customization won't be a small one as it is a common wizard and used at multiple places. So it will be a huge work.

  • Automatic fill up the text fields

    Hi everyone!
    I have the table with 3 columns - name&surname,birthday and the place of birthday.
    Also I have drop-down list which is filled with items from name&surname column and 3 text fields which according as birthday and place of birthday columns.
    So, when I will choose one item from drop-down list, I want that 3 text fields automatic will fill up with data from table.
    I hope you understood me.
    Thanks anyway!

    It is simply a case of navigating the hierarchy of the Form structure to get to the object that you want. For example if I have a form and a page on the page we have a table with rows and in the row we have a field, you would use an expression something like this:
    TargetField.rawValue = form1.Page1.Table1.row[instance number].fieldname.rawValue
    where instancenumber is a 0 based index of the row that you want to extract.
    Hope that helps

  • Multiple checked boxes fill in common text field

    I am attempting to create a form that has various criteria that are checked off (check boxes) and need to populate a common text field within the same form. Presently with action items I am able to design the form so that when only one item is checked it shows up on in the text field at a time not multiples  Any suggestions would help.
    Thank you

    1) In the Binding tab of your checkboxes you can put the On Value to whatever you want to populate the common text field with and the Off Value blank.
    2) Assuming all your check boxes names are CheckBox under the same subform use this script in the calculate event of your common text field:
    var aChkList=[];
    var vChecks = CheckBox.all;
    for (var a=0;a<vChecks.length;a++){
    if (!vChecks.item(a).isNull){
      aChkList.push(vChecks.item(a).rawValue);
    this.rawValue=aChkList.join(", ");
    Kyle

Maybe you are looking for

  • Family Videos on DVD into Final Cut Express and external hard drive?

    I have family videos that were transferred from video tape to DVD. I now want to get the DVDs into Final Cut express to make movies. 1. I am using mpeg streamclip -- what format is best to save to disk to work with FC express? DV or QT? Other? 2. Is

  • Problem with "watch folder" and Windows 7

    I have just switched to Windows 7 and Elements 9 - so far things are working quite well, but I am having a problem with "Watch folder"  It is watching my odf folder "My Pictures" but all my new photos are going into Libraries/Pictures and PSE9 won't

  • Cant View Part of My Banks Bill Payer Section

    This began about a month ago. I was on my banks website and went to the Bill Payer tab. The page has 2 sections. The first, which is on the left side, lists each of my credit cards and any editing I may want to do to delete etc. That list is fine and

  • Changing highlight text color / using Highlighters

    I've subclassed JTextArea, and among other things, am trying to add the functionality for drawing the active selection even when the TextArea doesn't have focus. I've overridden processFocusEvent like so: public void processFocusEvent(FocusEvent e){

  • Bluetooth drivers for a pavilion g7 2323dx laptop

     I've searched the HP network and cant find a bluetooth driver for my computer can anyone provide some information?