add validation and custom tooltip title