Fixed required field and invalid field warnings, restructured error html