- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 10:40 PM
Hello Team,
I have requirement to add long text in the catalog form. I am able to do it using showFieldMsg .
How to break lines in the showFieldmsg ?
example below text has to show using showFieldMsg
Please suggest me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 11:22 PM
Hi @vinod9,
Take a look at old thread - Line break in g_form.showFieldMsg?
You have to add two field message to show as in new line.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 11:32 PM - edited 04-20-2023 11:33 PM
Only two colors are possible red/blue as @Sagar Pagar suggested,
g_form.showFieldMsg('fieldname', 'message', 'info'); // blue
g_form.showFieldMsg('fieldname', 'message', 'error'); //red
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 11:29 PM
Hi @vinod9,
The showFieldMessage did not supports the HTML tags. Hence background color will not work. The existing background color (sky-blue) will be available OOTB.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 11:32 PM - edited 04-20-2023 11:33 PM
Only two colors are possible red/blue as @Sagar Pagar suggested,
g_form.showFieldMsg('fieldname', 'message', 'info'); // blue
g_form.showFieldMsg('fieldname', 'message', 'error'); //red
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 11:42 PM
Thanks a lot, you above suggestions helped 🙂 🙌