Streaming live at 10am (PST)

How do I preserve line breaks in a form's text area?

I’m posting a custom ‘Contact Us’ form to a remote server for processing using javascript. The form has a text area field called ‘Message’ and the form method is set to POST’.

When I display the received ‘Message’ data, the line breaks are missing so the displayed text appears as one long line of text.

I’ve tried setting the test area Breaking to ‘pre’, ‘pre wrap’ etc. to no avail. I am also URI encoding the text area data before sending it to remote handler.

How do I preserve line breaks please?

Any help much appreciated.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.