rishyym0927 / Affinity_frontend

Affinity is a web application designed to match individuals based on their intellectual compatibility. Users can create profiles, take quizzes, and find matches who share similar intellectual interests and capabilities. The project aims to foster meaningful connections through a sophisticated matching algorithm.
18 stars 36 forks source link

Form validations rules added to registration forms #24

Closed Kp779 closed 1 month ago

Kp779 commented 1 month ago

Solved issue #18 - Integrate form Validation in forms of registration process

This PR adds the validations to the form fields that are needed in the registration process. As per the mentioned requirements the validations have been handled on the frontend side in React. Made sure that all different kinds of conditions are covered to ensure validations work in all those conditions. Ensured that there are no disruptions to the UI of the project when validation messages appear.

Implementing validations in registration forms significantly enhances data integrity and user experience. By ensuring that users provide accurate and complete information, validations prevent errors and guide users with clear feedback on their input. This leads to increased trust in the application, as users feel more confident in its reliability.

rishyym0927 commented 1 month ago

Hey @Kp779

This is perfect, but the in the age field its showing and Im not to able to fill the box, please fix the bug and I will merge it

Kp779 commented 1 month ago

@rishyym0927 I have resolved the age input box issue. The checks are working well. Multiple checks to it was causing the error.

rishyym0927 commented 1 month ago

Cool everything works well now, can you squash your commits and have a clean commit history?

Kp779 commented 1 month ago

I am sorry but I'm not sure how that's done. I might mess it up. May we keep it as it is. I will be more thoughtful in the future commits that I make

rishyym0927 commented 1 month ago

okay