Form data validation with javascript is not validating input fields
I've been trying to solve this issue with javascript form validations. I'm submitting with a validateForm() function on the form. I was expecting the form data to be validated when clicking on submit but it just bypasses every validation and…