I guess you could let the onClick attribute set a hidden form variable for
the different buttons.




-------------------------------------------------------------
Hugo Ahlenius                       E-Mail:     [EMAIL PROTECTED]
Project Officer                     Phone:      +46 8 7410451
UNEP GRID-Arendal                   Fax:       +46 733 403285
Stockholm Office                    Mobile:    +46 733 467111
                                    WWW:  http://www.grida.no
------------------------------------------------------------- 



| -----Original Message-----
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, July 31, 2002 21:00 
| To: CF-Talk
| Subject: <CF_help> cflocation with submit name value
| 
| 
| Hi all,
| 
| I have a form with more than one submit button.
| Each submit button performs different logic.
| The logic is performed based on the submit name.
| 
| <input type="submit" name="submit1" value="Forecast in 
| Dollars">
| <input type="submit" name="submit2" value="Forecast in 
| Quantity">
| 
| I need to incorporate another application that will 
| redirect to this logic.  I'm currently using CFLOCATION
| to do the redirect.  How can I successfully pass the
| submit name value with the cflocation tag?  Should I do 
| this some other way?
| 
| current working LOGIC 
| <cfif ISDEFINED ("submit3")> ...
| 
| I'm using cflocation to redirect the user back to a 
| reference list
| 
| Current working cflocation
| <cflocation url="request_WIN_edit_list.cfm?
| ID=#URL.ID#&heng=#URL.HENG#">
| 
| D-
| 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to