called before runing validation
dp.attachEvent("onBeforeValidate", function(){...});
Can be used to finalize changes