It will be entered into the DB with the carriage returns and line feeds, the
thing to do is to reflect this when you use the data on output. The function
ParagraphFormat() might be what you are after. Or look at using any of the
replace functions to replace Chr(10) Chr(13) with whatever you want, [p][/p]
or [br /].

If you want to see what is in the data loop through with this and you'll see
the CRs and LFs where they appear.

[cfloop from="1" to="#Len(FORM.chars)#" index="i"]

    [cfset VARIABLES.char = Mid(FORM.chars, i, 1)]

    Char #i#: #VARIABLES.char#  ASCII Code: #Asc(VARIABLES.char)#[br /]

[/cfloop]

Hope that helps.

Ade :O)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 21 April 2004 18:51
To: CF-Newbie
Subject: Entry form with spacing

  How can I enter a paragraph from a form (into a DB) with the spacing
properties reflecting how it was actually entered, and not all bunched
together ?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to