Tokyo - g_form.showFieldMsg not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:11 AM
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);
}
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:25 AM
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.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:37 AM
Hello,
I've just tested this on Tokyo and it works for me (incident form):
Catalog item as well:
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 11:24 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 07:49 AM
I can also confirm field messages work on Tokyo release