Enter Key doesn't work on forms
- From: "bobbetts@xxxxxxxxxxxxxxxxxx" <bobbetts@xxxxxxxxxxxxxxxxxx>
- Date: 4 Aug 2006 14:06:15 -0700
I have a webpage that has three forms on it. Two are google search
forms. The third (code listed below) is for the user to enter their
password. If text is entered in either of the google search boxes and
the enter key is pressed, then the result screen is presented.
However, if a person enters a password then hits the enter key the
screen blinks and comes right back except that the password box is now
empty of characters. If the submit button is clicked on with the mouse
then the password is accepted (or rejected if wrong) and the next
screen is presented.
With Firefox the enter key works as expected, that is, it does exactly
the same thing as clicking the mouse on the submit button (it presentrs
the next screen)
This is the form which causes the problem:
<form action="<? echo $PHP_SELF ?>" method="POST" >
<input type="hidden" name="SerialID" value="<? echo $SerialID ?>" >
<b> Member Password :</b>
<input type="password" name="Password" size="15" >
<input type="submit" name="Submit1" value="Submit"><br>
<font color="#CC0000"><b>You MUST use the submit button!</b></font>
</form>
Despite the fact there is a disclaimer that the user must click the
submit button I still get people who say they cannot enter their poem
or story. I would like to stop this.
Is there a way to fix this so the enter key will work with IE??
Usagi
.
- Follow-Ups:
- Re: Enter Key doesn't work on forms
- From: Robert Aldwinckle
- Re: Enter Key doesn't work on forms
- Prev by Date: Re: Keep getting this message
- Next by Date: Re: Popup windows open and close immediately
- Previous by thread: wmv files in red, blue & green
- Next by thread: Re: Enter Key doesn't work on forms
- Index(es):
Relevant Pages
|