Skip to content

Commit 248b628

Browse files
README.md
1 parent 9b13291 commit 248b628

File tree

1 file changed

+11
-0
lines changed
  • Client-Side Components/Client Scripts/locationChange

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+
Dynamic Option Handling in ServiceNow Form (onChange Client Script)
2+
3+
Usage
4+
This script dynamically adds or removes a dropdown option based on the selected location’s state value.
5+
When the location is in **California (CA)**, the option **"Africa"** appears in the **Preferred Language** field; otherwise, it is removed.
6+
7+
Use Case
8+
Useful when you want to control dropdown field options dynamically depending on values in other reference fields.
9+
10+
Script Type
11+
**Client Script**`onChange`

0 commit comments

Comments
 (0)