How to make a text bold (by adding html tag) while using showFieldMessage() in a catalog item?

Subhashree Sub2
Tera Contributor

Hi All,

 

Please let me know if there is a way to use html tags while showing a field message through showFieldMessage() in a catalog item. Please suggest if it is possible to make a part of the text as Bold. 

I have created a message key to store the actual message text and using it in the showFieldMessage() . When I keep the message in <b></b> tag, it doesn't work on the catalog item form and shows the tags in the field message.

 

Example: This is a "Sample text". Where "Sample Text" has to be bold in the field message.

0 REPLIES 0