Validator will now add class to the invalid fields.