Suntower
Posts: 225
|
| Posted: 05/01/2008, 2:11 PM |
|
Hi,
I have a form with a TEXTAREA that I am using to e-mail to a list of people. Works fine, except that the TEXTAREA which wordwraps properly on screen does not create the proper line breaks.
IOW: If the user enters
1
2
3
4
5
...in the TEXTAREA, the e-mail they receive is
1 2 3 4 5
Is there a formatting function (ASP) that I can use to create the proper <br> or <p> for each carriage return they enter on screen?
Thanks,
---JC
_________________
---On a campaign for more examples and better docs! |
 |
 |
Suntower
Posts: 225
|
| Posted: 05/01/2008, 2:59 PM |
|
FWIW, this seems to work...
MyText = replace(MyForm.MyTextArea.Value, VbCrLf, "<br />")
Perhaps this s.b. in an FAQ somewhere?
---JC
_________________
---On a campaign for more examples and better docs! |
 |
 |
|