Re: Re: brand new elementary question
| From: | szii at sziisoft dot com | Date: | Mon, 24 Jun 2002 23:52:19 +0000 |
| Subject: | Re: Re: brand new elementary question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20073@lists.php.net to get a copy of this message | ||
Just a quick follow up...
from http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1
"When there is only one single-line text input field in a form, the user agent should accept
Enter in that field as a request to
submit the form. "
and a random link...
http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html
'Luck.
-Mike
----- Original Message -----
From: "Martin Clifford" <MLC1@nrc.gov>
To: <sethyount@cox.net>; <php-db@lists.php.net>
Sent: Monday, June 24, 2002 1:56 PM
Subject: [PHP-DB] Re: brand new elementary question
> If your form is up to standards, then hitting the enter key on any field, with the exception of
> textarea, should submit the form.
If you are using an image for your submit button via the <input type="image"> tag,
then you'd have to tab until on the image before
hitting enter for it to work.
>
> HTH
>
> Martin
>
> >>> Seth Yount <sethyount@cox.net> 06/24/02 03:58PM >>>
> initially I would look at your button type in the source code. Their
> are two basic types of buttons, the ' submit ' and the ' clear form '.
>
> If that doesn't work, post back
>
> gl -- Seth
>
> Matthew Crouch wrote:
>
> > got my other one sorted out; thanks everyone.
> > now:
> > how do i get it so when you hit "enter" on the keyboard it's the same as
> > hitting the "submit" button with the mouse? When I hit enter, it clears
> > my form and reloads the current page.
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php