Skip to content

Commit ba1c836

Browse files
authored
Create Readme.md
Onchange validation client script
1 parent 41877af commit ba1c836

File tree

1 file changed

+16
-0
lines changed
  • Client-Side Components/Client Scripts/Onchange Validation Client Script

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
This client script dynamically controls field visibility, auto-calculates priority,
2+
and validates user input on the Incident form based on category, impact, and urgency — all without using a Script Include.
3+
4+
it runs whenever the Category field value changes on the form.
5+
6+
1.Validate form fields before saving (example: block submission if “Impact” or “Urgency” is empty).
7+
2.Auto-calculate “Priority” based on “Impact” and “Urgency.”
8+
3.Hide or show fields depending on “Category.”
9+
4.Dynamically filter “Assignment Group” choices based on “Department.”
10+
11+
Uses:
12+
Runs when Category changes on the Incident form.
13+
Dynamically shows/hides the Serial Number field.
14+
Auto-calculates Priority purely on the client side (no server calls).
15+
Displays inline error messages or alerts based on user input.
16+
Enforces logic that prevents invalid combinations.

0 commit comments

Comments
 (0)