Tags:
create new tag
view all tags

SID-01266: Textarea Line Breaks

Status: Answered Answered TWiki version: 5.1.0 Perl version: 5.8.8
Category: Server OS: Windows server 2003 Last update: 14 years ago

I have an comment template defined and it works like a charm. Except, I have an problem with the below textarea

<textarea name="Sprots_Resolution" rows="20" cols="70" wrap="soft"></textarea>

When I display the Resolution values as

| %URLPARAM{"Sprots_Resolution"}% |

in a table, it breaks my table.

Eg., it displays as

TEST 1 TEST 1 TEST 1 TEST 1

instead of

TEST 1
TEST 1
TEST 1
TEST 1

-- RajeshN - 2011-09-07

Discussion and Answer

URLPARAM has many options, may be you need to play with newline="". See VarURLPARAM.

-- PeterThoeny - 2011-09-07

Thanks a lot... newline option worked for me.

-- RajeshN - 2011-09-08

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Textarea Line Breaks
SupportCategory

TWiki version 5.1.0
Server OS Windows server 2003
Web server Apache 2.2.11
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-09-08 - RajeshN
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.