fixed method name typoisFieldInvalidted => isFieldInvalid