Yep.
JavaScript.
If you want the code give me a shout back.
mark
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2001 16:23
To: CF-Talk
Subject: 2 Submit Buttons on one form
Is it possible to place two submit buttons on one form, each button calling
a
Sure, just give the button a name like:
input type=submit name=action1 value=action 1
input type=submit name=action2 value=action 2
Then, in your form look for the existance of action1 or action2.
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
Mark Try This
Within your form::
form action=submit within itself or wherever action =Post
1st Submit =input type=Submit
2nd Submit = input type=Button onClick=changeSubmit();
/form
script language=JavaScript
function changeSubmit(){
// New page to submit to
document.forms[0].action =
Mark,
You could do it client-side or server-side.
Client-side would involve some javascript like this -
form action=page1.cfm
input type=submit value=Submit to page1
input type=button value=Submit to page2
onclick=this.form.action='page2.cfm';this.form.submit();
/form
It's
, October 02, 2001 11:28 AM
To: CF-Talk
Subject: RE: 2 Submit Buttons on one form
Yep.
JavaScript.
If you want the code give me a shout back.
mark
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2001 16:23
To: CF-Talk
Subject: 2 Submit
Got it - many thanks for all your responses. :o)
Mark
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 11:23 AM
To: CF-Talk
Subject: 2 Submit Buttons on one form
Is it possible to place two submit buttons on one form, each button calling
a
: http://www.fusioneers.com
ICQ: 125160
AIM: markwarric
Yahoo: Serengeti
=
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 9:23 AM
To: CF-Talk
Subject: RE: 2 Submit Buttons on one form
Got it - many thanks
7 matches
Mail list logo