- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 01:45 AM
Hi All,
I am adding option in one of the variable based on the logged in user country using addOption in Catalog client script:
Script is like:
if ((answer == 'JP') && (concent == 'I Consent')) {
//alert('4');
g_form.addOption("please_select_from_the_following", getMessage("Mental Disability"), getMessage("Mental Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Non-Severe Intellectual Disability"), getMessage("Non-Severe Intellectual Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Non-Severe Physical Disability"), getMessage("Non-Severe Physical Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Severe Intellectual Disability"), getMessage("Severe Intellectual Disability"));
g_form.addOption("please_select_from_the_following", getMessage("Severe Physical Disability"), getMessage("Severe Physical Disability"));
}
and Translating these choices in sys_ui_message table:
But the changes are not reflecting on Portal while working fine on backend. Any suggestions please?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:22 AM
Yes indeed you need to add all of them to the Message field, comma seperated.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 01:58 AM
Hi there,
Have you added the messages to the Message field in the Catalog Client Script?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:08 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:22 AM
Yes indeed you need to add all of them to the Message field, comma seperated.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:23 AM
Also see:
- 2019-11-19 Catalog Client Script Messages (Internationalization/Multi-Language)
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field