There are better ways, but this will probably work. <input type="submit" name="add" value="Add Me, Baby!" onclick="this.form.action='somepage.cfm'>
-- jon mailto:[EMAIL PROTECTED] Tuesday, September 2, 2003, 3:08:27 PM, you wrote: AS> Yeah I know..but isn't there also a way to change the actual form it AS> gets submitted to depending on which button is pressed? AS> -Gel AS> -----Original Message----- AS> From: Raymond Camden [mailto:[EMAIL PROTECTED] AS> Just use different names... AS> <input type="submit" name="add" value="Add Me, Baby!"> AS> <input type="submit" name="delete" value="Send me to Hell!"> AS> In your form action area, you can check to see if form.add or AS> form.delete exists, and depending on which exists, do A or B. AS> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:5 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
