Project

General

Profile

BUG #3114

Updated by Tasfia Zaima 7 months ago

On the Enquiry Form, the validation for the Name field is not strong enough. 
 * If the user enters only blank spaces (e.g., two spaces) in the Name field, the form still gets submitted. 
 * In the Email field, the form also submits if given email input with leading blank spaces before the email part or if very long email is inserted. 
 * If the user enters only blank spaces (e.g., two spaces) in the Mobile field, the form still gets submitted. 
 ___ 
 **Steps to Reproduce:** 
 * Open the Enquiry Form page. 
 * In the Name field, enter only blank spaces (e.g., two spaces). 
 * Submit the form. 
 * In the email field enter a few blank spaces before email part and then try submitting filling other options. 
 * Submit the form. 
 * In the email field enter only blank spaces and then try submitting filling other options. 
 * Submit the form. 
 * In the Mobile field, enter only blank spaces (e.g., two spaces). 
 * Submit the form. 
 ___ 
 **Expected Result:** 

 * Form should validate the Name field properly and should not allow submission if the field contains only blank spaces. 
 * Email field should not allow submission when there are leading blank spaces before the email part or if the email is very long. 
 * Form should validate the Phone field properly and should not allow submission if the field contains only blank spaces. 

 ___ 
 **Actual Result:** 
 * The form gets submitted even when the Name field contains only blank spaces and also if before email if we give blank spaces. 
 * The form also gets submitted when the Email field contains leading blank spaces before the email. 
 * The form also gets submitted when the Email field contains very long email. 
 * The form gets submitted even when the Phone field contains only blank spaces 


 

 ___ 
 **Video**  
 https://drive.google.com/file/d/16cj5GbBCHJjhRuMfkclQC5iBNphsO_Xz/view?usp=sharing (Name) 
 https://drive.google.com/file/d/1piJVrBxWG-_5vfxPdirwMsSnofoX0KDV/view?usp=sharing (Email) 
 https://drive.google.com/file/d/1o7zU-bIG40gFlrmxs2q_hWB26bXRWcil/view?usp=sharing (Email) 
 https://drive.google.com/file/d/1X7b-vXrveUC5ofatdGo-gpIGE8a3HXPr/view?usp=sharing (Mobile) 



 

Back