fires when the user clicks a button
myForm.attachEvent("onButtonClick", function(name){ // your code here });
example of init:
... {type: "button", name: "btn2", value: "Submit"} ...