- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2019 11:46 PM
Hi All,
I need help to rename the choices just for normal change, i have a field with Yes or No choices. if the ticket is normal change then i need to show yes choice as Yes - automatically. How can i do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 10:48 PM
Hi asifnoor,
Thanks for the suggestions. Here is my script and its working as expected.
if (Type == 'normal'){
g_form.clearOptions('u_alerts');
g_form.addOption('u_alerts','Yes','Yes - Automatically');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 11:59 PM
Hi Harish,
This is what i'm trying to achieve.
when users view the choices for alert , if the type is normal , the choice yes should show as Yes-automatically instead of just Yes . How can i do this?
i want the choice to show as Yes - automatically when user click the drop down.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 12:36 AM
Hi Omsa,
you can use the scripts provided above but make this change.
As I understand, for other change request types, you want the options to be visible always so that the user can select.
so in the else part, instead of setting no, just say
g_form.clearValue("u_alerts"); //This will reset the dropdown of alerts and allows user to select the value.
Mark the comment as a correct answer and helpful if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 10:48 PM
Hi asifnoor,
Thanks for the suggestions. Here is my script and its working as expected.
if (Type == 'normal'){
g_form.clearOptions('u_alerts');
g_form.addOption('u_alerts','Yes','Yes - Automatically');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 11:00 PM
Glad it helped 🙂