translations for onChange catalog client script through getmessage() method not working for none opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2024 08:30 AM
translations for onChange catalog client script through getmessage() method not working for none option in select box variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 04:55 AM
What exactly you want to achieve?
You want to add the a choice when the message loads?
Can you elaborate on your use case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 05:00 AM
Hi,
Check if there are translated messages for "None" key in sys_ui_message table. If there are no records you need to create translated message records in different languages with 'None' key

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 05:59 AM
@Archana23 Could you please try the following.
getMessage('-- None --', function(msg) {
g_form.addOption('users_role_in_the_organization', '', '-- None --');
});