Tokyo - g_form.showFieldMsg not working

triciav
Kilo Sage

Tokyo: I am testing in dev and my instance is on Tokyo.

I have an onLoad catalog script to show 2 field messages.

This is not working both in the UI and Portal

function onLoad() {
   //Type appropriate comment here, and begin script below
    g_form.showFieldMsg('users', "Add any other users that will use this data.", "error",true);
    g_form.showFieldMsg('geo_department', "Add any other departments that will use this data.", "error",true);
}
9 REPLIES 9

Yousaf
Giga Sage

Hi,

It should work try adding info message and see if its working.
Before that try adding clearValue 

g_form.clearValue('your field name');

 

Reference : g_form.showErrorBox and showFieldMsg do not work at Service Portal

 
Mark Correct or Helpful if it helps.



***Mark Correct or Helpful if it helps.***

Allen Andreas
Administrator
Administrator

Hello,

I've just tested this on Tokyo and it works for me (incident form):

find_real_file.png

find_real_file.png

find_real_file.png

Catalog item as well:

find_real_file.png

find_real_file.png

find_real_file.png

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hello,

I just wanted to check in on this and see if your issue has been resolved?

Please refer to my reply above for any other specific setting and formatting, etc.

If my reply helped confirm that things do indeed work in Tokyo and helped guide you, please mark it as Correct.

Thanks and take care!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Ian Mildon
Tera Guru

I can also confirm field messages work on Tokyo release