Return key presses in a <textarea> will usually be converted into a
newline (\n).

Making your browser submit the form when you press enter is an
HTML/Browser issue.  

You probably should look at a javascript solution because this is a
client side problem.

Jason

On Sun, 2002-11-10 at 21:16, rija wrote:
> Thanks for your quick answer,
> 
> But it doesn't change anything.
> <textarea> change my text box into big text area-
> 
> So I always have to click on submit button to submit the form.
> 
> 
> 
> ----- Original Message ----- 
> From: "Justin French" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
> Sent: Monday, November 11, 2002 3:45 PM
> Subject: Re: [PHP] Submit hitting enter problem
> 
> 
> > on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote:
> > 
> > > <input type=text name=bongabe value=something>
> > 
> > I think you need to use a <textarea> if you wish for the returns to be
> > submitted.
> > 
> > Cheers
> > 
> > 
> > Justin French
> > --------------------
> > Creative Director
> > http://Indent.com.au
> > Web Developent & 
> > Graphic Design
> > --------------------
> > 
> > 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


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

Reply via email to