Project

General

Profile

Actions

BUG #2416

open

[SQA] Auto-Generate User ID and Improve Validation for Name, Email, and Phone Fields in "Create New User" Form

Added by Md. Abdul Hamid 11 months ago. Updated 10 months ago.

Status:
Complete
Priority:
High
Category:
-
Target version:
-
Start date:
05/13/2025
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

The "Create New User" form requires enhancements to improve data quality and user experience. Specifically:

  1. 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.

  1. 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.

  1. Email Field Validation:

Ensure only correctly formatted email addresses are accepted.

Use standard regex to validate structure (e.g., ).

Reject malformed addresses and display helpful feedback.

  1. 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

Actions #1

Updated by Md. Abdul Hamid 11 months ago

Actions #2

Updated by Nazmul Hossain Shovon 10 months ago

  • Status changed from Pending to In Progress
Actions #3

Updated by Nazmul Hossain Shovon 10 months ago

  1. phone numbers must be exactly 11 digits
  2. not allowing country codes
Actions #4

Updated by Nazmul Hossain Shovon 10 months ago

  • Assignee set to Md. Abdul Hamid
Actions #5

Updated by Md. Abdul Hamid 10 months ago

  • Status changed from In Progress to Complete
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF