There is always a need for form field validation, but you should not be drawn to use some of the popular libraries like Formik or React useForm. This is a much simpler way to achieve the same goal.