Wrap TextArea results on Confirmation page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a custom confirmation page for a form that has a TextArea field in it.
I need this field type (I think) to be able to have a nice memo area for
users to write their comments in.

My custom confirmation page works great, except that the TextArea field data
doesn't wrap. It looks horrible when the comment is long.

Is there a way to force the text to wrap? Thanks!
 
In my tests both for the default confirmation page, and a custom
confirmation page, the text from a text-area *does* wrap. However,
any line breaks (carriage returns) in the text-area are ignored. The
wrapping point is dictated by the container the text is displayed in
(in my case the entire width of the browser).

In a custom confirmation page you can surround the text In the
confirmation page with <pre>...</pre> tags, which cause the line
breaks within the text to be honoured, but the lines will not wrap at
all unless a line break is encountered.

For better advice please give the URL for the confirmation page so it
can be seen.
 
Back
Top