Skip to content

Commit b33b598

Browse files
authored
Add onChange function to clear MRVS values
1 parent b0a525b commit b33b598

File tree

1 file changed

+6
-0
lines changed
  • Client-Side Components/Client Scripts/onChange Clear Values - Multi Row Variable Sets - MRVS

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
function onChange(control, oldValue, newValue, isLoading) {
2+
if (isLoading || newValue == '') {
3+
return;
4+
}
5+
g_form.clearValue('IO:0dde0d561b803d101ea411f2b24bcbc2'); //pass in the sys_id of your MRVS/multi row variable set
6+
}

0 commit comments

Comments
 (0)