Enhance validation error display in caption