PC Review


Reply
Thread Tools Rate Thread

How to allow Line breaks AND HTML in Textareas

 
 
tt_chatter@comcast.net
Guest
Posts: n/a
 
      14th May 2007
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

 
Reply With Quote
 
 
 
 
tt_chatter@comcast.net
Guest
Posts: n/a
 
      14th May 2007
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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to keep HTML code on one line, with no line breaks. please =?Utf-8?B?SmFzb24=?= Microsoft Frontpage 3 27th Sep 2005 12:48 PM
Inserting html line breaks into excel. Ben Allen Microsoft Excel Programming 0 18th May 2005 03:38 PM
MS WORD FORM Is it possible to paste text inside HTML TextAreas? =?Utf-8?B?TG9yZE1vbnJvZQ==?= Microsoft Word Document Management 0 8th Apr 2005 05:23 PM
Msg in HTML with extra line breaks Vic Microsoft Outlook 2 5th Aug 2004 08:49 PM
Maintaining line breaks in HTML email Andrew Banks Microsoft ASP .NET 2 4th Apr 2004 05:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:06 AM.