File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Client-Side Components/Client Scripts/Onchange Validation Client Script Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments