We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de926af commit 436d1b1Copy full SHA for 436d1b1
Client-Side Components/Client Scripts/Auto-Fill Assignment Group Based on Category/script.js
@@ -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