1 Reply Latest reply on Dec 16, 2015 2:51 AM by AgustinFC

    Rich text error

    AgustinFC

      Hi,

      I am trying to use a rich text field in order to add bold/underline/italic words for a rich text field.

       

      For that, I am using the following javascript: 

      this.value.exData.loadXML(xhtml, false, true);

       

      Where xhtml contains the complete chain: (using <b> </b> for example for bolds

        <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p><b>TEXT</b></p></body>

       

      The PDF is generated but an error is detected when opened using Adobe Reader (Both XI and DC versions) and no text is generated for the field.

       

      But if the same PDF is opened using Chrome, it works fine.

       

      Any idea about this issue?

       

      Thanks in advance,

      Kr,

      Agustín.