Event occurs after validation
Parameters for inputs
myform.attachEvent("onAfterValidate", function (id, result){ //any custom logic here });