Implemented form validation functionality.

Say a user entered an invalid username & password. Would this form still submit data to the server?