Add red border to invalid input fields