I have a simple login form with two input elements, username and password. I want to validate on the form submit that they are not empty, so I have added \'required\' to the