fixed validation of enumerationformfields