Reject function in onCustomValidation event not working

@danieletreinonet I couldn’t figure it out just by looking at it :pensive: