Skip to content

Commit 13f6ff4

Browse files
authored
Create Remove Option from Choice List.js
Remove the choice options of Impact & Urgency as 1 if the category is selected as Software
1 parent 31d00df commit 13f6ff4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
2+
if (isLoading || newValue == '') {
3+
return;
4+
}
5+
if (newValue == 'inquiry') { //Onchange of Category
6+
g_form.removeOption('impact', '1');
7+
g_form.removeOption('urgency', '1');
8+
}
9+
}

0 commit comments

Comments
 (0)