works...thanks
Stephen E. Schuster
PeopleSoft Administrator
2000 Ashland Drive
Ashland, KY 41101
Office Phone 606.920.7447
Cell Phone 606.831.4590
_____
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 2:14 PM
To: CF-Talk
Subject: RE: Submit Question....
Ok, I have it... Here is what I did...
If you use the BUTTON tag the value of the submit button contains whatever
is in between the <button></button> tags. So if you have 2 buttons and press
one the one you pressed will not be null and the other submit button will
be.
Easy enough...
Thanks,
Stephen E. Schuster
PeopleSoft Administrator
2000 Ashland Drive
Ashland, KY 41101
Office Phone 606.920.7447
Cell Phone 606.831.4590
_____
From: Philip Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 2:09 PM
To: CF-Talk
Subject: RE: Submit Question....
> Ok, this is dumb but...
>
> Single-form...
>
> Two submit buttons....both go to the same page. How can I
> tell which submit button was pressed in JS. Is there some
> button is true state I can look for on submit types?
2 options
1) Name the buttons - only the one pressed will be passed
BUT - if somebody hits return, then neither is "pressed"
2) Have a hidden field that when you click on the button, it runs a
function to set the value of the hidden field
_____
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

