using g_form.showfieldmsg on service portal is not working

jatinder1
Tera Expert

using g_form.showfieldmsg on service portal is not working

19 REPLIES 19

jatinder1
Tera Expert

ok... which version you are using ? m on kingston

Madrid. 

jatinder1
Tera Expert

hey,

it is working for me now.. I have used - g_form.hidefieldmsg('template', 'info', false)

 

Thanks again !!

glad it worked. kindly mark my answer as correct and close this thread. 

Ohki_Yamamoto
Tera Guru

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');
}
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー