validation of the field in the filter