Actions
Task #3810
open
AB
YV
Phone number field allows invalid input via copy-paste (bypasses 10-digit validation)
Task #3810:
Phone number field allows invalid input via copy-paste (bypasses 10-digit validation)
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Frontend validation works only for manual typing, paste action bypasses validation
Preconditions:
User logged into CRM
Lead Add/Edit page opened
Steps to Reproduce:
Go to Lead → Add Lead / Edit Lead
In Phone Number field, type manually → allows only 10 digits (working)
Copy a long number (more than 10 digits) from Notepad / Excel / Browser
Paste into Phone Number field
Expected Result:
Field should restrict to exactly 10 digits
Should block paste if >10 digits OR trim to 10 digits
Validation message should be shown
Allow only numeric (0–9)
Actual Result:
System accepts pasted value more than 10 digits
No validation error shown
Enforce maxLength = 10 at field level + backend validation
Invalid data saved in system

Files
AB Updated by ashokbalaji B 27 days ago
- Assignee changed from ashokbalaji B to balaji E
AB Updated by ashokbalaji B 26 days ago
- Tracker changed from Bug to Task
Actions