Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2026 07:34 AM
I have a simple on change catalog client script as below, here entity_name is reference type variable, changes_entity_appointment_ownership is select box variable and appointments is MRVS and except for entity_name no other field gets cleared. I know appointments is MRVS and that can be the reason for it but How to resolve this for select box type variable?
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
g_form.clearValue('entity_name');
g_form.clearValue('changes_entity_appointment_ownership');
g_form.clearValue('appointments');
}
Solved! Go to Solution.