> I'm trying to do something on a form to where the user would cut and paste
> text formatted code (indents, bulleted items, etc..) from a Microsoft Word
> document into a multi-line text field.  When cutting and pasting the
> information into the text field it actually shows up exactly how I want it
> to look (which is good).  When I go and preview the information through a
> submit button, I lose all the formatting.  I have tried using the
> paragraphformat() tag but that doesn't seem to do the trick for me.
>
> Any ideas?  I seem to mainly be losing line breaks.

Textarea fields are plain text, which means that they would automatically
lose any formatting.

If you want it to handle the bullets, indents etc. properly, then you need
to buy an editor like ActiveEdit or eWebEditPro.

If you just want to handle the carriage returns, then output
Replace(myString,chr(13)&Chr(10),"<br>","All")
which will change all hard returns into <br>s

HTH

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to