Tags:
create new tag
view all tags

Question

I'm not sure whether this is the right place to put this, but I hope someone can help. Currently I am using the "1" variable to retrieve data (text) from forms on a previous page. When the user inputs the the text, I want there to be line breaks whenever they press enter and start on a new line, and I have realized that this does not happen normally (it all appears on the same line). After some research, I came to the conclusion that using verbatim would solve the problem. However, it simply takes the variable and writes that instead, not using what the variable should show but just showing "1." Is there a way to apply verbatim to the text that the variable shows after it is evaluated? Or if not, how else would I solve this problem?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- DorianScrima - 25 Jul 2005

Answer

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.

Alright, I figured out how to do it. Using the HTML "Pre" tag instead of the Verbatim tag evaluated the variable and formatted it correctly.

-- DorianScrima - 25 Jul 2005

Topic revision: r1 - 2005-07-25 - DorianScrima
 
  • 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.