To be honest this is a fudge, and is used for input type=img... The X and Y
are co-ordinates and were introduced to allow to have one image and combine
this with an image map and your on your way to understanding this
further.... If you use a input type=submit the X and Y are not available to
the action page as you have suggested.
-----Original Message-----
From: Veena Sarda [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2001 15:52
To: CF-Talk
Subject: Re: Multiple submit buttons on a form
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists