Sure it is:
<input type="Image" src="image1.gif" onclick="document.formname.action = 'page1.cfm'; document.formname.submit();"> <input type="Image" src="image2.gif" onclick="document.formname.action = 'page2.cfm'; document.formname.submit();"> - Matt Small -----Original Message----- From: Matthew Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:38 PM To: CF-Talk Subject: Dynamic form actions Is there a way to have a form with two images as buttons, but will send the form fields to a different url. i.e. you have two form fields Username Password and image A and Image B If you hit image A the form is posted to www.a.com and if you hit image B the form is posted to www.b.com the JavaScript to submit the form is simple but can you control the "action" location. Any help would be great. Matt Friedman ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

