как то так
<form action="" id='PageViewForm' onsubmit="alert(this.name);" name="PageViewForm">
<label>
<input>
</label>
<input name="" type="submit" value="ok">
</form>
<script>
var form = document.forms.PageViewForm;
var fn = form.onsubmit.bind(form);
document.forms.PageViewForm.onsubmit = function() {
fn();
alert("test");
return false
};
</script>