Example of validation and overriding global validation messages