Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 11:31 PM
Hi
You need to create an onChange() client script that runs when the field above changes, try something like this :
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var val = newValue;
if(val == 1)
{
g_form.showFieldMsg('type_of_request','To cancel your appointment scheduled for site pick visit on scheduling tool.','info','true');
}
else if(val == 2)
{
g_form.showFieldMsg('type_of_request','To request changing calendar configuration of the scheduling tool.','info','true');
}
//Type appropriate comment here, and begin script below
}
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep