[PHP-DB] Re: brand new elementary question

2002-06-24 Thread Seth Yount

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-DB] Re: brand new elementary question

2002-06-24 Thread Martin Clifford

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 [EMAIL PROTECTED] 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




Re: [PHP-DB] Re: brand new elementary question

2002-06-24 Thread szii

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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php