fires after validation error before data sending
dp.attachEvent("onValidationError", function(id, details){ //custom code here });