akshitagupta15june / akshitagupta15june/PetMe

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

未关闭
#1,770 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
HTML
星标
515
派生
747
PR 合并指标
30 天内没有已合并 PR

描述

**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)](https://github.com/akshitagupta15june/PetMe/assets/100946083/54f3ed90-d4ba-439b-abf8-5f8047e3bac6)

IT SHOULD NOT GET SUBMITTED ,BUT IT ACCEPTED THIS FORM

![Screenshot (47)](https://github.com/akshitagupta15june/PetMe/assets/100946083/ad951dbe-4c9a-43e4-8d82-db2488c597f0)

@akshitagupta15june Please assign this Issue to me - SSOC Contributor

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。