View Full Version : Two form actions?
05-17-2005, 06:43 PM
Is it allowable to have two actions on submitting the same form, and if so what is the correct syntax, please?
<FORM action="http://mydomain.co.uk/cgi-bin/script1.pl; http://anotherdomain.co.uk/cgi-bin/script2.pl" onsubmit="runascript">
05-17-2005, 10:00 PM
Is it allowable to have two actions on submitting the same formNo. It is not.
05-18-2005, 07:25 AM
Thanks for the answer.
05-18-2005, 07:43 AM
actually you can have a form that has multiple actions if for example you want your form to have differing actions based on buttons presses.
The first way would be to combine your 2 scripts and have a different part fire depending on which button was pressed.
<form action = "" name = "formname">
05-18-2005, 06:35 PM
Thanks NancyJ. Very informative.
I have now found your thread number 53576
which answers my question.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.