CustomJS-using html in setFieldValue

Forums Requests CustomJS-using html in setFieldValue

This topic contains 2 replies, has 2 voices, and was last updated by  Carl E Tippins 1 year, 2 months ago.

  • Author
  • #21231

    Carl E Tippins

    I am trying to use html to underline a word in the following setFieldValue statement:
    setFieldValue(varCommentField,”This has <u>not</u> been designated as a High Impact Regulatory Change or a Complex Regulatory Change as determined by Compliance.”);

    The result is exactly what is seen in the statement. The <u> and </u> are being written to the field. How do I change it so the word ‘not’ is underlined?

  • #21238

    Alexander Bautz

    I don’t have any problems inserting HTML in a rich text field like this – are you sure the field accepts rich text input and not only plain text?


  • #21271

    Carl E Tippins

    The field was changed from a plain text to a rich text. The records that were showing html code were entered before the field was changed (this is a site that was recently given to me). Records added later are working. I just had to reenter the ‘bad’ records to get the html to work.

You must be logged in to reply to this topic.