How to put g_form.hideAllFieldMsgs() in use

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2021 04:39 AM
Hello,
I am trying to put g_form.hideAllFieldMsgs in use but am failing. Kindly help.
g_form.addInfoMessage(g_form.getOption('state', '1').text);
g_form.hideAllFieldMsgs();
I am still seeing 'New' message on top.
Regards
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2021 05:02 AM
Hi,
g_form.addInfoMessage(g_form.getOption('state', '1').text);
g_form.hideFieldMsg('state');// I think there is no need of this
g_form.hideFieldMsg('state',true) // this will work for you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2021 05:06 AM
It didn't work Priyam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2021 05:10 AM
Okay, Dave
Thank You

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2021 10:24 PM
Hi Dave,
Please close the thread by making an answer correct if you find any so that others can also get benefit from that.
Thanks & Regards,
Priyam Kaushik