how to show multiple fields by conditions