Project

General

Profile

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)

Added by ashokbalaji B 27 days ago. Updated 16 days ago.

Status:
New
Priority:
High
Assignee:
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

clipboard-202607271516-gbt34.png (162 KB) clipboard-202607271516-gbt34.png ashokbalaji B, 07/27/2026 03:16 PM
Actions

Also available in: PDF Atom