akshitagupta15june / PetMe

PetMe is an all-in-one platform that allows animals to be adopted, donated to pet lovers, and provides emergency medical care to stray animals in need. Star this repo⭐
https://akshitagupta15june.github.io/PetMe/
MIT License
474 stars 726 forks source link

Contact us Form is not validated Properly. It is accepting the form even if the name field in empty . #1770

Open ShikharSinghKushwaha opened 4 weeks ago

ShikharSinghKushwaha commented 4 weeks ago

Describe the bug The form in contact us section is not well Validated . It should not submit form by user until all the fields are not Filled .

To Reproduce

  1. Add a Error message displaying that form can't be empty
  2. Will make the Button Disabled until the form is not filled.
  3. To prevent the user from typing wrong email address will add Regex ,although required attributes is given but it dosen't handle what is written after the @ .

Expected behavior A form should be submit all field not just only email as required.

Screenshots Screenshot (46)

IT SHOULD NOT GET SUBMITTED ,BUT IT ACCEPTED THIS FORM

Screenshot (47)

@akshitagupta15june Please assign this Issue to me - SSOC Contributor

INam1995 commented 4 weeks ago

@akshitagupta15june I would like to fix this issue please assign it to me under SSOC'24. SSOC Contributor Thank you!!