Tim, I just tried this in IE 5.0, and the submit button name-value pair was
posted along with the other form variables, even though I submitted the form
by hitting return on another field. Is the behavior you described specific
to a certain browser version?

Kirk

-----Original Message-----
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 7:48 AM
To: 'Martin Skjöldebrand'; [EMAIL PROTECTED]
Subject: [PHP] RE: Value of if(isset(X)) problem


I think you'll find that cmdFinish is only passed through if the form is
submitted by pressing the button. Hitting return on any other field will
submit the form without sending cmdFinish.


> -----Original Message-----
> From: Martin Skjöldebrand [mailto:[EMAIL PROTECTED]]
> Sent: 07 March 2001 05:34
> To: [EMAIL PROTECTED]
> Subject: Value of if(isset(X)) problem

>       <input type="submit" value="Modify client" name="cmdFinish">

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to