Function getFieldValidationErrors