On Fri, 22 Mar 2002, Erik Price wrote:
I have noticed that pressing enter in IE does achieve the same effect as
pressing the submit button for my forms. But I have also heard that
it's not really the same, especially if there are more than one
submit-style inputs for the given form. What
On Friday, March 22, 2002, at 12:11 AM, Jason Wong wrote:
But, what are the undesirable effects of just pressing enter? I know
that in
IE pressing enter to submit a form is not the same as clicking on the
submit
button. If that is what you are referring to then it's very easy to code
On Friday, March 22, 2002, at 12:29 PM, Jason Wong wrote:
Side note to the original poster: in the script that is the target of
the form you are writing, you may be able to test for the presence of
the submit variable -- if this value is not present, then the user
has
not clicked the
On 22-Mar-2002 Erik Price wrote:
On Friday, March 22, 2002, at 12:29 PM, Jason Wong wrote:
Side note to the original poster: in the script that is the target of
the form you are writing, you may be able to test for the presence of
the submit variable -- if this value is not present,
In one of my php pages, I have a form that requires the user to click Search
for Surname. If however they press Enter, undesirable effects occur.
I've successfully trapped if an empty string is in the input
type=text, but Enter eludes my efforts to trap it for an appropriate
Educational
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Trap CR or Enter possible?
In one of my php pages, I have a form that requires the user to click
Search
for Surname. If however they press Enter, undesirable effects occur.
I've successfully
PROTECTED]
Subject: [PHP] Trap CR or Enter possible?
In one of my php pages, I have a form that requires the user to click
Search
for Surname. If however they press Enter, undesirable effects occur.
I've successfully trapped if an empty string is in the input
type=text, but Enter
On Friday 22 March 2002 10:52, Andre Dubuc wrote:
Thanks Martin,
I forgot to mention: I would like to accomplish this using PHP since I'm
not using Javascript. Will this still work with straight html?
You can't have your cake and eat it :)
What you require can only be done client-side which
8 matches
Mail list logo