> If I run this form using IE, hitting the Return/Enter key submits the form
> but the 'ok' variable is not set; it just redraws the form.  If however, I
> uncomment the third echo line (the one for Name2), then hitting the
> Return/Enter key does have the desired effect in IE.  In NS, the first
> version acts just like IE; the form redraws and that is all. But using the
> second variant with both text fields, hitting the Return key in NS does
> nothing at all.
>

I think this is the way it is.

Rather than testing for the value of submit, I have started adding a hidden
field called formname with the value being which ever form it is.
I then look for this instead of the value of the submit button

HTH

M@


-- 
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