- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 02:49 AM
Hi all;
I use the showFieldMsg() function for On change function and I would like to know the types of message to put in my function (like error, etc.. ).
ex:
g_form.showFieldMsg('u_environment_label',getMessage('change.rp.environment_reminder'),'error');
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 02:57 AM
Hi @tyffanie_rbr,
You can show "Info", "Error" or "Warning" type of messages. by default "info" type will be shown.
For reference: Display field messages
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 02:57 AM
Hi @tyffanie_rbr,
You can show "Info", "Error" or "Warning" type of messages. by default "info" type will be shown.
For reference: Display field messages
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 03:37 AM
share the browser console error
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader