SCCapstone / EZBag

2 stars 0 forks source link

Misleading error message on random email/phone number input #193

Closed noahshaw11 closed 3 years ago

noahshaw11 commented 3 years ago

When inputting random letters/numbers into the email and phone number fields on the receipt page, one gets an "Empty Fields" error. Like in other input fields, add more validation to these fields to ensure that the user actually provides an email address and a phone number. Also, change the error message to something more suitable depending on the error case. In this case, something like "Incorrect email or phone number". Capture #3