Display help text for a multiple choice variable choice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2023 12:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2023 10:12 PM - edited ‎04-20-2023 10:52 PM
Hello @Tim Saunders
You can use the g_form.showFieldMsg() and must create an onChange() client script that runs when the field above is selected.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var val = newValue;
if(val == 1)
g_form.showFieldMsg('type_of_request' , 'Message you want to dispaly.' , 'info' , 'true');
}
else if(val == 2)
{
g_form.showFieldMsg('type_of_request' , 'Message you want to dispaly.' , 'info' , 'true');
}
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Priyanka