Skip to content

Commit 9d0508b

Browse files
authored
README.md
1 parent 9973350 commit 9d0508b

File tree

1 file changed

+11
-0
lines changed
  • Client-Side Components/Catalog Client Script/Email & PhNo Validation

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+
This script validates the email and phone number fields entered by the user in a ServiceNow catalog item form.
2+
It ensures that the email follows a valid format and the phone number is numeric with exactly 10 digits.
3+
4+
5+
**Email Requirements:**
6+
Must contain “@” and a valid domain (e.g., example.com).
7+
No spaces or invalid characters allowed.
8+
9+
**Phone Number Requirements:**
10+
Must contain exactly 10 digits.
11+
Only numeric values allowed (no letters or special characters).

0 commit comments

Comments
 (0)