Reject function in onCustomValidation event not working

I don’t think that there’s an issue with reject, it’s working on my websites just fine, maybe something else, I need to play with the code to tell where the issue is.