How to make a text bold (by adding html tag) while using showFieldMessage() in a catalog item?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 09:36 AM
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