It would be handy if I could make a form execute two actions.
Is this possible?
stavs.
knighty
12:48 pm on Jul 19, 2001 (gmt 0)
yes ;)
bobriggs
3:07 pm on Jul 19, 2001 (gmt 0)
how?
theperlyking
3:13 pm on Jul 19, 2001 (gmt 0)
Surely not possible without resorting to javascript or some form of black magic involving sacrificing a copy of Frontpage 2000?
agerhart
3:14 pm on Jul 19, 2001 (gmt 0)
what about with ASP?......it has to be possible
knighty
3:31 pm on Jul 19, 2001 (gmt 0)
You can do it using javascript either on onsubmit calling a function etc
evinrude
5:21 pm on Jul 19, 2001 (gmt 0)
Wouldn't it depend upon the actions? I think more info is needed here. Sending a request to some dynamicly processed page (such as ASP or PHP) could allow for many actions. I guess my question would be, "What two actions would you like to perform?" :)
stavs
6:23 pm on Jul 19, 2001 (gmt 0)
action 1 - anyform.cgi
action 2 - activate an auto responder
the anyform script is excellent for our needs but does not provide for auto responders. Hence the need for two actions on the submission of the form.
MikeFoster
11:49 pm on Jul 21, 2001 (gmt 0)
Here's an idea.
This goes in a SCRIPT element:
function mySubmit() { if (data_validates) { runAutoResponder(); // form will be submitted } else { return false; // don't allow submit } }