Skip to content

Commit 436d1b1

Browse files
authored
script.js
1 parent de926af commit 436d1b1

File tree

1 file changed

+11
-0
lines changed
  • Client-Side Components/Client Scripts/Auto-Fill Assignment Group Based on Category

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
function onChange(control, oldValue, newValue) {
2+
if (newValue == 'hardware') {
3+
g_form.setValue('assignment_group', 'Hardware Support');
4+
} else if (newValue == 'software') {
5+
g_form.setValue('assignment_group', 'Software Support');
6+
} else if (newValue == 'network') {
7+
g_form.setValue('assignment_group', 'Network Team');
8+
} else {
9+
g_form.clearValue('assignment_group');
10+
}
11+
}

0 commit comments

Comments
 (0)