Required validation preventing forms to be submitted