Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 04:52 AM - edited 03-16-2023 04:53 AM
Hi,
There is a field validation and it will show error message ,if not validated properly.
Now the error message should be shown in different languages based on user's language
How to achieve this?
Thanks in advance!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 06:56 AM
do this and it will work based on user's language
getMessage("YOUR_MESSAGE_KEY", function(msgString) {
g_form.showFieldMsg('field_name', msgString, 'error');
});
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 07:26 AM
Thank you, It works as per the expectation!