Kajol-Kumari / InfluMart

One point solution for influencers-brands
https://influmart.netlify.app/
MIT License
17 stars 23 forks source link

[Frontend] Add the UI level Validations #297

Open Kajol-Kumari opened 1 month ago

Kajol-Kumari commented 1 month ago

Description

Currently, there is almost no validation or the validation occurs only after hitting the submit button of login/signup form for both influencers and brands.

Requirements

As soon as user enters an invalid data, the error message should be shown right away just below the input box. Only the errors coming from backend should come when user hits submit.

For Brand SignUp form

For Brand Login form

For Influencers SignUp form

For Influencers Login form (same changes as brand login)

NOTE - Make sure to write all the validators under frontend/util/validators.js so that the same validators can be used at all the required places

Ishitamukherjee2004 commented 1 month ago

@Kajol-Kumari I want to work on email validation

BHS-Harish commented 1 month ago

@Kajol-Kumari @RohitGupta1237

Assign me the issue

Kajol-Kumari commented 1 month ago

@Ishitamukherjee2004 we can't give just one validation to anyone so assigning @BHS-Harish