Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Area and Formatting Text Area Input

Status
Not open for further replies.

marybailey

Programmer
Mar 14, 2002
47
US
Hi All.
Couldnt find this on the site. If its old, feel free to point me in the right direction.

I have a page for a client to use to send email out to her clients. I have set up a text area (wrap=physical and tried wrap=virtual) for her to copy in text. She can type it in directly or cut and paste from a text file.

2 questions:

1. Is there a way to define the textarea so she sends out email the way it appears in the textarea? Right now it makes everything a single line of text regardless of spaces, <cr>, anything.

2. Is there another way to have her include text in her mail?

Thanks!
Mrs B
 
try wrap=off in your textarea tag, this will stop the text wrapping but it also forces the user to press the enter key to start a new line. This then should format correctly in the email.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top