Open kristi-h opened 3 months ago
Copied from Frontend Mentor
"Receive validation errors if: Any field is empty when the form is submitted The day number is not between 1-31 The month number is not between 1-12 The date is in the future The date is invalid, e.g. 31/04/1991 (there are 30 days in April)"
https://codewithpawan.medium.com/form-validation-in-react-a-comprehensive-guide-with-examples-c12e1c8671f2 good blog regarding form validation that provides examples
create logic for validating input data from user