Project

General

Profile

BUG #3161

Updated by Tasfia Zaima 7 months ago

On the Contact Us page, the City and Country fields are not validated properly.Currently, these fields accept numeric-only input (e.g., “1234”), and the form still allows submission. 
 Ideally, these fields should either be implemented as dropdown selections or restricted to valid string inputs. Besides, City,Country, Nearest Port and Address fields accepts blank spaces.  

 

 **Steps to Reproduce:** 
 1. Open the Contact Us page. 
 1. In the City field, enter only numbers (e.g., “1234”). 
 1. In the Country field, enter only numbers (e.g., “5678”). 
 1. Fill in other required fields with valid data. 
 1. Submit the form. 
 1. Fill in the fields- City,Country, Nearest Port and Address with blank spaces and it will still be submitted. 

 **Expected Result:** 
 * City and Country fields should either be dropdown lists or accept valid text string inputs only. 
 * Numeric-only values should not be allowed. 
 * The form should block submission if City or Country contain only numbers. 
 * Blank spaces in the fields shouldn't be submitted. 

 **Actual Result:** 
 * City and Country fields accept numeric-only inputs. 
 * The form still allows submission with invalid values. 
 * Blank spaces in the fields are being submitted. 

 **Video:** 
 https://drive.google.com/file/d/15sCyyYcG6pqRJDKFctQqHMUbWLRmBNxP/view?usp=sharing 
 https://drive.google.com/file/d/1RFP99AnDuzi3oyG-iD5RF3lH2U4jvK2Q/view?usp=sharing 

Back