Friday, August 04, 2006

Displaying HTML content in any of the InfoPath 2003 form’s control

Displaying HTML content in any of the InfoPath 2003 form’s control – the Rich Text Box control can be used to copy and paste any content except the HTML content.

Open corresponding XSL file of your InfoPath Template and select the field in which your going to use the HTML as input. Your control element will be like this

<xsl:value-of select="my:field1" >

What you have to so is just add one attribute called “disable-output-escaping”. And set that attribute to yes.

<xsl:value-of select="my:field1" disable-output-escaping="yes">

No comments:

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...