using g_form.showfieldmsg on service portal is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2019 08:10 AM
using g_form.showfieldmsg on service portal is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2019 01:53 AM
ok... which version you are using ? m on kingston

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2019 01:54 AM
Madrid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2019 02:39 AM
hey,
it is working for me now.. I have used - g_form.hidefieldmsg('template', 'info', false)
Thanks again !!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2019 02:47 AM
glad it worked. kindly mark my answer as correct and close this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2023 11:57 PM
I am trying to use g_form.showFieldMsg in OnChange in the catalog client script on the service portal (record producer) to send out a message.
If I use info or warning, the message is displayed with the normal background color, but if I specify error, the background color of the message is not red.
Do you know what the cause is or how to fix it?
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
function onChange(control, oldValue, newValue, isLoading) {
 if (isLoading || newValue == '') {
  return;
 }
 g_form.showFieldMsg('number','message','error');
}
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー