Country-Specific Mobile Number Validation Not Working Across the storefront. #105

Closed
opened 2026-11-13 05:47:18 +00:00 by sanskar · 3 comments
Member

Mobile number validation currently works for India but does not properly validate mobile number formats for other countries. For example, when France is selected, the system accepts 1234567890, even though French mobile numbers generally start with 06 or 07 in national format. The system should validate mobile numbers according to the selected country's numbering rules wherever mobile number and country fields are available across the application, including Registration, User Profile, Billing Profile.

Mobile number validation currently works for India but does not properly validate mobile number formats for other countries. For example, when France is selected, the system accepts 1234567890, even though French mobile numbers generally start with 06 or 07 in national format. The system should validate mobile numbers according to the selected country's numbering rules wherever mobile number and country fields are available across the application, including Registration, User Profile, Billing Profile.
amit added the
Priority
Low
label 2026-11-16 05:40:14 +00:00
amit added this to the Acupedia Project project 2026-11-16 05:40:19 +00:00
urvish was assigned by amit 2026-11-16 05:40:31 +00:00
Member

fixed across store and mobile

fixed across store and mobile
sanskar was assigned by urvish 2026-11-16 10:48:33 +00:00
Author
Member

Please check both screenshots. The first screenshot shows the correct validation message for France. When a user enters a mobile number starting with 1, the system displays: "France mobile number must begin with 06 or 07 (or 6 or 7)."

However, when selecting Pakistan, the system displays a different and incorrect message: "Please enter a valid mobile number for Pakistan (e.g. 10-digit mobile number)."

The validation message should be consistent and clearly mention the starting digit requirement. For Pakistan, it should display: "Pakistan mobile number must begin with 03 (or 3)."

Please check both screenshots. The first screenshot shows the correct validation message for France. When a user enters a mobile number starting with `1`, the system displays: **"France mobile number must begin with 06 or 07 (or 6 or 7)."** However, when selecting Pakistan, the system displays a different and incorrect message: **"Please enter a valid mobile number for Pakistan (e.g. 10-digit mobile number)."** The validation message should be consistent and clearly mention the starting digit requirement. For Pakistan, it should display: **"Pakistan mobile number must begin with 03 (or 3)."**
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AcuPedia/acupedia-store-ui#105
No description provided.