Better to change their value="..." and look for that. Just get the value 
returned and check it and make your decisions based on that.

On Sat, 30 Dec 2000, Steve Sotis wrote:

> Date: Sat, 30 Dec 2000 13:16:32 -0600
> From: Steve Sotis <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Multiple Submit Btns
> 
> In a reentrant Perl CGI script that outputs an HTML FORM, I'd like to have 
> multiple submit buttons with different labels, but I'd need to know which 
> button was clicked on when reentering.
> 
> I realize I can set each buttons' "name" attribute differently, but how do 
> I test which button was hit when reentering.
> 
> Alternatively, I could use a seperate FORM for each button, and each FORMs 
> "name" attribute would be different (that'd be a REAL pain in the butt!) 
> but still, how would I test for which button was clicked?
> 
> Thanks!
> 
> Steve
> 
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
> 

Sincerely,

William Mussatto, Senior Systems Engineer
CyberStrategies, Inc
ph. 909-920-9154 ext. 27

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to