
KevinR
Veteran

Sep 16, 2003, 12:45 PM
Post #2 of 2
(364 views)
|
|
Re: [andy7t] Stop Lines in Textarea
[In reply to]
|
Can't Post
|
|
this may very from browser to browser, but give this a try: <textarea name="input" wrap="soft"> if that does not work then you may need to parse out the linefeeds/carraige returns sent with the textarea form submission, something like: if ($in{'input'}) { $in{'input'} =~ s/\r\n//g; $in{'input'} =~ s/\n//g; }
or you can do both. Make sure to add a newline to the end of the string in your print statement if you parse out \r\n's from the form data. -------------------------------------------------
(This post was edited by KevinR on Sep 16, 2003, 12:47 PM)
|