Skip to content

Commit 3ef6baf

Browse files
authored
Create script.js
1 parent b8e6686 commit 3ef6baf

File tree

1 file changed

+10
-0
lines changed
  • Client Scripts/Display Section on State

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
2+
if (isLoading || newValue === '') {
3+
return;
4+
}
5+
6+
if (newValue == 6) //State on which section needs to be displayed
7+
g_form.setSectionDisplay('resolution_information', true); //Section which needs to be display
8+
else
9+
g_form.setSectionDisplay('resolution_information', false);
10+
}

0 commit comments

Comments
 (0)