How to allow Line breaks AND HTML in Textareas

T

tt_chatter

I have read around and i know you use the following to allow line
breaks in forms;

<%=Replace(FP_FieldVal(fp_rs,"Resolution"), VbCr, "<br>")%>

But if you use this, you cant input HTML into the textarea. The main
things i really need to put into the form are links as well as text.
Is there a way to be able to format the the textarea and allow html or
just links to be submitted to a database and be viewed on a results
page? FYI im using FP 2003 ;)
 
T

tt_chatter

well i figured it out. So if any one ever needs this form this is how
i did it. I still used <%=Replace(FP_FieldVal(fp_rs,"Resolution"),
VbCr, "<br>")%> but the val part is what strips out all the html
codeing. So if instead you use <
%=Replace(FP_Field(fp_rs,"Resolution"), VbCr, "<br>")%> you can have a
formated textarea and still use HTML.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top