RE: 2 Submit Buttons on one form

2001-10-02 Thread Mark Robinson (National Express)
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

Re: 2 Submit Buttons on one form

2001-10-02 Thread Howie Hamlin
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

RE: 2 Submit Buttons on one form

2001-10-02 Thread Jerry Staple
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 =

RE: 2 Submit Buttons on one form

2001-10-02 Thread Alistair Davidson
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

RE: 2 Submit Buttons on one form

2001-10-02 Thread mherbene
, 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

RE: 2 Submit Buttons on one form

2001-10-02 Thread Mark Leder
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

RE: 2 Submit Buttons on one form

2001-10-02 Thread Mark Warrick
: 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