[thelist] HTML Forms: Carrage Returns in Text Area

Anthony Baratta Anthony at Baratta.com
Fri Aug 8 17:51:12 CDT 2003

At 03:43 PM 8/8/2003, Casey Crookston wrote:
>How would you force an HTML form to recognize sinlge and double returns in a
>text area?  On the action page when the string is displayed, all returns
>have been ignored.

When you display the result either wrap it in <pre> or <code>, or write a 
routine that converts the CRLFs to a <br>.

Anthony Baratta
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

More information about the thelist mailing list