customizing validation to populate tooltips