I had a similar situation where I needed a different ACTION attribute, depending on what button the user clicked.
For this I used javascript.
Each of your buttons will have a name,
<input type=submit name=button1 onclick="setaction(this.form);">
<input type=submit name=button2 onclick="setaction(this.form);">
<input type=submit name=button3 onclick="setaction(this.form);">
The following part goes in the head of your html document:
<head>
<script language="javascript">
var ourform="window.document.formname";
function setaction(){
if(caller.name=button1){
ourform.action="filename1.php" }
elseif(caller.name=button2){ ourform.action="filename2.php" }
else{ ourform.action="filename3.php" }
</script>
</head>
Change the form handlers filename1.php, filename2.php and filename3.php, and you're done.
Note that your actual form <FORM> will not have any ACTION attribute in it.
Richard Akindele
-----------------------geocities.com/akindele/