When the userName field of the login web form contains inval…
When the userName field of the login web form contains invalid data entered by the user, both of the following JavaScript commands will return false: Command 1: document.forms.login.elements.userName.checkValidity() Command 2: document.forms.login.checkValidity()