"Luke, use the JavaScript" Look at an onClick event in your button input tag to kick of a JavaScript function. In that function you can change the forms action by document.foo.action = "gooey.cfm"
Note the form name is goo. Doug >-----Original Message----- >From: Ben Koshy [mailto:benlist@;w3media.net] >Sent: Tuesday, November 05, 2002 6:29 PM >To: CF-Talk >Subject: Multiple Actions with a Single Form? > > >Has anyone encountered a simple way to have multiple submit >buttons that >post different values of the same variable or action value? > >Here's my code > ><form action="index.cfm" method="post" target="_blank" name="foo"> ><td> ><select name="customerorderid"> ><CFOUTPUT> ><option value="#customerorderid#">#customerorderid#></option> ></CFOUTPUT> ></select> ><input type="submit" name="Fuseaction" value="order_invoice" >style="background-image: url(/images/delete_x.gif);height: 14; width: >25; border: none; "> ><input type="submit" name="Fuseaction" value="edit_invoice"> ><input type="submit" name="Fuseaction" value="delete_invoice"> ></td> ></form> > >You can see I have multiple submit buttons assigning the fuseaction >value. Of course this creates really ugly labels. So my solution was >to use style sheets to replace the button altogether. However >the label >still partially shows through on top of the background I specified even >though I have a nice delete_x button made. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

