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

Also available in: Atom PDF