SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Custom Sharepoint List which has a column of type "Enhanced rich text (Rich text with pictures, tables, and hyperlinks). I have done some formatting to the values like making some text Bold, Font coloring and underlining some text.

I have a browser based Infopath 2010 form (Forms Services) which connects to the custom list to display the data in the browser.

I want to show the formatted text in the browser based infopath form with the same formatting as it was in the Sharepoint List. I tried using the textbox control which shows the Sharepoint list data with HTML tags(since the list item is formatted). I also read some forums post which says browser based forms does not support rich text formatting.

Does Rich text control show formatted text in broswer? If not is there any work around?

enter image description here

share|improve this question

Use the Rich Text Box control.

share|improve this answer
    
Hi John, the rich text control shows the format tool bar when cursor is placed on it. But it doesn't show the formatting that was applied to the list item. – Kannan Jan 13 '12 at 1:33
up vote 0 down vote accepted

I found the solution here. This is what i'm exactly looking for. http://www.bizsupportonline.net/infopath2007/how-to-programmatically-get-set-xhtml-rich-text-infopath.htm

share|improve this answer
    
+1 for your question but I was wondering if it is possible have non-code solution. – Jack Oct 29 '12 at 6:45
    
Hi Jack, I couldn't find a non-code solution. – Kannan Oct 30 '12 at 12:35

I recently got into similar problem. I too wanted a no-code solution. What I did ? I have Nintex Workflow in rescue. I created another multi line text field. Designed a workflow to get the inner xml of the infopath form field and copied it in the multi line field. Then using SSRS I referred the multi line field, which has html tags and everything in reports. That's it.

Thanks Rajdeep

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.