- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 01:34 PM
Hi,
How can we make different help text visible based on choice selected. This functionality must be added on Incident table field.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 02:14 PM
So you can add
function onChange(control, oldValue, newValue, isLoading) {
g_form.hideFieldMsg('variablename',true);
if(newValue=='aa')
g_form.showFieldMsg('variablename','your help text a','info');
else if(newValue=='bb')
g_form.showFieldMsg('variablename','your help text b','info');
else
g_form.showFieldMsg('variablename','your help text c','info');
}
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 01:43 PM
Hi,
You can add below script on change event
g_form.hideFieldMsg('variablename',true);
g_form.showFieldMsg('variablename','your help text','info');
g_form.addInfoMessage('variable name');
Thanks
Please Hit ✅Correct, ⭐️Helpful depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 01:46 PM
You can add below script on change event
g_form.hideFieldMsg('variablename',true);
g_form.showFieldMsg('variablename','your help text','info');
Thanks
Please Hit ✅Correct, ⭐️Helpful depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 02:04 PM
you want me to create a event ?
or client script on change
the requirement is to add 3 different help-text to a field which differs based on choice selected from choice list.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 02:10 PM
Hi,
Create client script on change of that field.
Thanks