Actions
BUG #3279
open[SQA] Add Validation on the fields of contact us from
Start date:
09/18/2025
Due date:
% Done:
100%
Estimated time:
Description
On the Contact Us form, the input fields are not validated properly. Users can enter invalid characters such as numbers, symbols, or random strings in fields that should only accept specific types of input.
Affected Fields¶
- Your Name → should accept only alphabets (with space).
- E-mail Address → should only allow valid email formats (e.g., name@domain.com).
- City → should accept only alphabets.
- Nearest Port → should accept only alphabets.
- Country → should accept only alphabets.
- Mobile No. → should only accept numeric values with optional “+” for country code.
-
Your Address → should allow text, numbers, and limited special characters (e.g.,
/ , . -). - Your Message → should allow free text (letters, numbers, symbols).
Steps to Reproduce¶
- Navigate to the Contact Us form.
- Enter invalid data (e.g., symbols in “Name”, text in “Mobile No.”, invalid email format in “Email Address”).
- Submit the form.
Expected Result¶
- Each field should enforce proper input validation rules.
- User should see error messages for invalid entries.
Actual Result¶
- The form accepts any type of input without validation.
Files¶
Updated by Nazmul Hossain Shovon 7 months ago
- Status changed from Pending to In Progress
- Assignee set to Md. Abdul Hamid
- % Done changed from 0 to 100
Updated by Tasfia Zaima 6 months ago
- Status changed from In Progress to Complete
Actions