Give the same action file for both submit buttons. Then on that action file
chack which button caused the submit and redirect it to differesnt URLs.
You can check the button pressed as buttonname.x and buttonname.y
If these values are not equal to zero or null, you know which button was
clciked.
Veena
----- Original Message -----
From: Scott, Andrew <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 9:59 AM
Subject: RE: Multiple submit buttons on a form
> You could, but what if you needed the information from the same form but
to
> do 2 different actions as was asked:-)
>
>
> -----Original Message-----
> From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
> Sent: 21 February 2001 15:22
> To: CF-Talk
> Subject: RE: Multiple submit buttons on a form
>
>
> Put them within different forms
>
> -----Original Message-----
> From: Les Irvin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 10:15 PM
> To: CF-Talk
> Subject: Multiple submit buttons on a form
>
>
> How would one put multiple submit buttons on a single form, each calling a
> different page upon submit?
> Thanks,
> Les
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists