Comments field should be able to send text in bold/underlined etc

Ananya Venkat
Tera Contributor

Hi all,

How can I use "Comments" field (type: journal input, table : case) to send comments to end user in Bold/Italics/underlined or how can I use it to send links.

End users use a record producer (target is case table) and the comments field multi line text is mapped to OOB journal input comments field on case form

I am not allowed to change the type of it to HTML , also not allowed to create new HTML field due to license issues.

How can I achieve this?

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi Maik,

Thanks for the reply!

I haven't clearly understood the post as I am new to this but I can see that this has been done using a new field. Is there anyway we can do this without a new field creation.

For example: for the links/urls I will make use of another string field (existing) and for all the text added in this field, it adds https:// tags and adds it to the comments. Is there any way I can do the same for Bold/Italics etc?

Mohith Devatte
Tera Sage
Tera Sage

Hello @Ananya Venkat ,

Yes you can do this using [code] tags

for example::

current.comments=[code]<b>My Bold Text</b>[/code];

If its a record producer you can try this

var mlt = producer.your_multi_line_variable_name

current.comments = [code]<b>mlt</b>[/code];

Try this and see the result

please mark my answer correct if it helps you

Mark Manders
Mega Patron

You can check this blog.

If my answer helped you in any way, please then mark it as helpful.

Mark


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark