Multiple Submit buttons on a form - Which one pressed
-- When you press one of the submit buttons the SetYesNo onclick function starts first & sets the value of the hidden form variable at the bottom (vReviewButton) .
--
Code:
<script LANGUAGE="JavaScript">
function SetYesNo(YN)
{
theForm.vReviewButton.value = YN;
}
</script>
-- Next, the onsubmit function is started (after the button's onclick) to show the value