Generic method to show icons for custom fields