Adding field validation to some fields