Skip to content

Commit 9c1f3b6

Browse files
README.md
1 parent 1dcb05a commit 9c1f3b6

File tree

1 file changed

+6
-0
lines changed
  • Client-Side Components/Client Scripts/ChangeLocation

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+
Script Type
2+
3+
Client Script — onChange
4+
5+
This is an onChange client script in ServiceNow that runs automatically whenever the user changes the value of the Location (u_location) field on a form.
6+
It uses the reference value of that location to check its state and dynamically updates the Preferred Language (preferred_language) field options in real time — without needing to reload the form.

0 commit comments

Comments
 (0)