Tim Ward wrote:
>
Be careful using values of submit buttons ... if the user hits return
instead of clicking one of the buttons you won't get anything. If you want a
default value try a hidden field before the submits with same name.
>
Tim, thanks for the tip. I had heard of this behavior before
stov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Tim Ward" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>; "'Justin French'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 3:52 PM
Subject: [PHP] RE
As far as any CGI is concerned there is only one submit, The one that is
pressed. The other one is simply not posted. But be careful using values of
submit buttons ... if the user hits return instead of clicking one of the
buttons you won't get anything. If you want a default value try a hidden
fi
On Wednesday 29 August 2001 10:09, Justin French wrote:
> I noticed this chunk of code in a site the other day:
>
>
>
>
>
> My GUESS is that if i click the "Yes" button, I magically
> get $btn = "Yes" as a var is the receieving PHP script.
> I was just about to test this, when I realised that (
4 matches
Mail list logo