Your validation should be done when the user clicks the Save or OK button -
whatever actually causes the information to be used, and presumably also
causes the form to close.
You can do validation on field changes earlier if you like - although I
prefer not to. (I'd rather let the user do a visual scan and fix problems,
prior to hitting OK.)