I\'m having a problem with a simple html login page I made, where when I submit the login form with invalid credentials the form still submits, even though my validation met
In validateForm() function, you've used two undefined variables(userLbl and passLbl). Define value for the variables and check.