Project

General

Profile

Actions

BUG #2425

open

[SQA]Improve Validation and Field Structure in "Create New Customer" Form

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

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

0%

Estimated time:
Spent time:

Description

  1. Remove "Initial Balance" Field
  • The Initial Balance input field should be completely removed from the form.

  • It is no longer required during customer creation.

  1. Customer ID Auto-Generation
  • Customer ID should be auto-generated by the system.

  • Must be read-only to the user.

  1. Name Field Validations
  • Customer Name and Contact Person’s Name:

  • Disallow numbers and special characters.

  • Accept only letters (A-Z/a-z or Bengali), spaces, hyphens, and apostrophes.

  1. Phone Number Validation
  • Both Customer and Contact Person phone numbers must:

  • Be exactly 11 digits

  • Start with “01”

  • Reject country code format (+880) unless properly normalized

  1. Email Validation
  • Customer and Contact Person emails must:

  • Follow standard email syntax

  • Reject invalid formats (e.g., missing @, domains, etc.)

  1. Address Field Reordering
    Reorder address fields as follows:
  • Postal Code

  • City/Town

  • District

  • Division

  1. Contact Person DOB Field Update
  • Placeholder: dd-mm-yyyy (Must be 18+ years old)
  • Validation:
  • Only allow dates that are at least 18 years before today’s date
  • Show an error for invalid selection

Files

Actions #1

Updated by Nazmul Hossain Shovon 10 months ago

  • Status changed from Pending to In Progress
  1. initial balance is currently needed
Actions #2

Updated by Nazmul Hossain Shovon 10 months ago

validation is not necessary in name fields

Actions #3

Updated by Nazmul Hossain Shovon 10 months ago

  • Assignee set to Md. Abdul Hamid
  1. the sequence of address fields are flexible, so we are keeping it as it is
  2. the validation of contact persons age is not needed in our case
Actions #4

Updated by Md. Abdul Hamid 10 months ago

  • Assignee changed from Md. Abdul Hamid to Nazmul Hossain Shovon
  • The changer are best practies.
  • Initial Balance could be place in the account module.
Actions

Also available in: Atom PDF