algovengers / MindMate

https://mind-mate-wellness.vercel.app/
20 stars 42 forks source link

Validations using toastify library #53

Open Niharika0104 opened 2 months ago

Niharika0104 commented 2 months ago

Issue Description

Summary: We currently have form validation implemented in our registration page, but we'd like to enhance the user experience by incorporating React Toastify for displaying validation messages.

Expected Behavior: Form validation messages should be displayed using React Toastify, providing a more visually appealing and user-friendly way to convey validation errors.

Current Behavior: Form validation messages are displayed within the form itself, which interrupts the layout and doesn't provide an optimal user experience.

Steps to Reproduce

  1. Navigate to the registration page.
  2. Attempt to submit the form with invalid input.
  3. Observe the current behavior of validation messages displayed within the form.

Proposed Solution

Integrate React Toastify to handle form validation messages:

Additional Context

subharthihazra commented 2 months ago

Go ahead.