How do I validate form elements via onblur events?
Drupal doesn't have any client-side validation by default, but you can get that functionality with the Clientside Validation module:


  This module adds clientside validation (aka "Ajax form validation") for all forms and webforms using jquery.validate.


According to the docs it has a "Validate on blur" option, so it should be just what you're looking for.