Hi,
Use the P tag instead of a TEXTAREA.
We'll improve this in a later version to recognize the TEXTAREA and then not replace the newlines with BR tags.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I use a TEXTAREA field in my form. In the emailed html I have the following so that the emailed form looks just like the form on the site:
The text that is returned contains the html break tag wherever the ENTER key was pressed.Code:<textarea rows="10" cols="50">$instructions</textarea>
It looks correct if I simply use the $instructions field inside a P tag. How can I remove these tags so that the text looks like it did when it was entered originally - like this:Code:asdf<br /> asdf<br /> etc...
Code:asdf asdf etc...
Hi,
Use the P tag instead of a TEXTAREA.
We'll improve this in a later version to recognize the TEXTAREA and then not replace the newlines with BR tags.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
OK. I'll just do that for now. Thanks... I hope this fix is on your list though. I knew the P tag would work, but I think it looks much cleaner, and takes up less page space if it is in the TEXTAREA. Thanks for the speedy response.![]()
I decided to simply use CSS to put a border around my text instead of waiting on the TEXTAREA solution. The beauty of the TEXTAREA is that it is a fixed size and it has as scrollbar. But this will work for now.
Code:border: 1px solid #0047a2; padding: 3px;
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks