- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 06:41 PM
Hey everyone,
I need to show a different hint or title to every state at incident form. For example, if I select the state as new, I want a specific hint or title to appear, if I select closed another hint or title.
I tried to set different hints at the choices tab in the dictionary, however the hint only shows when the option menu is opened, if I select the state the hint will not appear anymore.
Could you guys help me?
Thank you all!
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 07:50 PM
Hi,
As per OOB setup hint for choices will be shown when user open dropdown list.
If you want to show Help text or hint dynamically on change of state you can use below logic:
1. Create onChange client script on incident for which should run when State is changes.
2. In script use below logic:
if(newValue == 1){ // state is new
g_form.addDecoration('state', 'icon-view', 'Hint for new state');
}else if(newValue == 2){
g_form.addDecoration('state', 'icon-view', 'Hint for In progress state');
}
It will look like below:
Note: Please use state choices as per your configurations.
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 07:50 PM
Hi,
As per OOB setup hint for choices will be shown when user open dropdown list.
If you want to show Help text or hint dynamically on change of state you can use below logic:
1. Create onChange client script on incident for which should run when State is changes.
2. In script use below logic:
if(newValue == 1){ // state is new
g_form.addDecoration('state', 'icon-view', 'Hint for new state');
}else if(newValue == 2){
g_form.addDecoration('state', 'icon-view', 'Hint for In progress state');
}
It will look like below:
Note: Please use state choices as per your configurations.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2022 06:32 AM