BUG #2416
open[SQA] Auto-Generate User ID and Improve Validation for Name, Email, and Phone Fields in "Create New User" Form
Description
The "Create New User" form requires enhancements to improve data quality and user experience. Specifically:
- Auto-Generate User ID:
The User ID field should be automatically generated (e.g., using a UUID or auto-increment logic).
This ensures uniqueness and prevents human error during manual input.
- Name Field Validation:
The Name field currently accepts numeric values, which is not appropriate.
Validation should:
Prevent fully numeric entries (e.g., "1234").
Allow alphabetic characters, spaces, and common symbols (e.g., hyphens, apostrophes).
Provide a clear error message if invalid input is detected.
- Email Field Validation:
Ensure only correctly formatted email addresses are accepted.
Use standard regex to validate structure (e.g., user@example.com).
Reject malformed addresses and display helpful feedback.
- Phone Number Validation:
Accept only valid phone number formats.
Should include:
Length restrictions (e.g., minimum 10 digits).
Allow country codes if needed (e.g., +1, +91).
Reject alphabetic or special characters (except + if used).
Files
Updated by Md. Abdul Hamid 11 months ago
- File Screenshot_2025-05-13_at_10.14.23_AM.png Screenshot_2025-05-13_at_10.14.23_AM.png added
- Subject changed from [SQA] Auto-Generate User ID and Improve Email/Phone Validation in "Create New User" Form to [SQA] Auto-Generate User ID and Improve Validation for Name, Email, and Phone Fields in "Create New User" Form
- Description updated (diff)
Updated by Nazmul Hossain Shovon 10 months ago
- Status changed from Pending to In Progress
Updated by Nazmul Hossain Shovon 10 months ago
- phone numbers must be exactly 11 digits
- not allowing country codes
Updated by Md. Abdul Hamid 10 months ago
- Status changed from In Progress to Complete
- % Done changed from 0 to 100