akshitagupta15june / akshitagupta15june/PetMe

Inline Validation in Donate Animal Form

オープン
#920 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
515
フォーク
747
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
Yes

**Describe the solution you'd like**
I can submit the donate animal form with invalid data as shown in the below image:
1

**Describe alternatives you've considered**
I want to implement inline validation in this form. This will show an error message to the user below the respective field. And we can add constraints for each field. According to me, the following constraints can be applied:

Full Name: Minimum 6 characters
Email: Valid regex
Address: min 6 words
City: required
State: required
country: dropdown to select
Phone: valid regex
Pet type: add dropdown for cat or dog
Pet Name: Minimum 3 characters
Pet Color: min 3 characters
Pet Breed: required
Pet Image: required

Let me know if you want to change any of the above constraints
This will prevent sending invalid data to the backend.

I want to implement functionality similar to the below sample video:

https://github.com/subhashis2204/project-annapurna/assets/86224794/acf65c1c-605c-4117-bd52-fa6e8211abe2

## Request
**Please assign me this issue under SWOC' 24.**

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。