It's defined behaviour, by Netscape, and you can't turn it off.

You can only validate the inputs you get and send them back if they are
invalid.

NOTE:  Requiring the user to "click" on a SUBMIT button rather than hit
Return is *most* annoying to many users.  If they don't "click" on SUBMIT,
you don't get that variable in your script.  Deal with it.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Michael George <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Monday, February 19, 2001 1:09 PM
Subject: [PHP] <Ret> from text input


> I have a php script that I'm writing for taking/passing/reading phone
> messages.
>
> I've got a screen where one enters the name of the person leaving the
message.
> I've found that when the "from_whom" field is active, if the user hits
Return,
> the form is returned w/o hitting a "submit" button.  Is this defined
behavior,
> or is it Netscape-specific?  Is there a way to turn that off?
>
> -Michael
>
> --
> No, my friend, the way to have good and safe government, is not to trust
it
> all to one, but to divide it among the many, distributing to every one
exactly
> the functions he is competent to.  It is by dividing and subdividing these
> republics from the national one down through all its subordinations, until
it
> ends in the administration of every man's farm by himself; by placing
under
> every one what his own eye may superintend, that all will be done for the
> best.
>                 -- Thomas Jefferson, to Joseph Cabell, 1816
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to