validate

validate(editMask: JadeEditMask): Boolean;

The validate event method of the JadeEditMask class occurs when the user attempts to shift the focus to another control or form within the same application by using the mouse or keyboard. Your logic can validate the text field to determine what action to take when the data is incomplete.

This event is not called if the user switches to another displayed form of the application, to another application, or closes the form. In addition, the event is not called if logic shifts the focus.

This event returns true to allow focus to be shifted or it returns false to force the focus to remain on the control. If you do not implement this event, focus movement is permitted (that is, implement the validate event if you want the focus to remain on the control).