I would view the source to see if the subsequent form edit has line breaks.
If not this would indicate the data is not being saved as it was entered.
You could also copy and paste the data out of the database into notepad or
something, to see how the data is actually being stored.
On Mar 8, 2015
I don't know if this specifically a CF question so sorry if it is
considered OT.
I have an admin section of the site that lets the owner add and edit
items/products. I am having an issue with the description field where the
newline/enter key input is being lost when editing an entry.
To give mo
Dan,
The hex code works for the black circle bullet, but not for the white bullet.
Here is what I found and worked around to do the job.
I found that white bullet from word document is not a bullet; it is a small
letter 'o'
I put a letter 'o' and the code for tab together. It works!
Here is
John,
Yes, I did. It works well for black circle bullets. The problem is with the
white circle bullets and square bullets. Thanks
-Joy
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Antho
You'd need to convert the hexidecimal numbers to standard decimal numbers.
The chr() does not work with hexidecimal values.
-Dan
On Tuesday, November 5, 2013, Joy Paulose wrote:
>
> John,
>
> I did use Replace function, but circle and square bullets still do not
> work.
> I tried all the follow
Did you use http://cflib.org/udf/convertSpecialChars
On Nov 5, 2013 3:07 PM, "Joy Paulose" wrote:
>
> John,
>
> I did use Replace function, but circle and square bullets still do not
> work.
> I tried all the following number codes
>
> chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),
John,
I did use Replace function, but circle and square bullets still do not work.
I tried all the following number codes
chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),chr(2043),chr(9675),chr(9702),chr(9642),chr(9643),chr(9632),chr(9633)
Thanks
Joy
~~~
http://cflib.org/udf/convertSpecialChars
On Mon, Nov 4, 2013 at 4:08 PM, Joy Paulose wrote:
>
> Hi,
> I want to remove bullets and other strange characters from textarea. if
> the user enters the text by copying and pasting from Word, it does not
> display properly. On submissi
Run the entry through a REReplace and only allow characters you want in
there.
On Mon, Nov 4, 2013 at 1:08 PM, Joy Paulose wrote:
>
> Hi,
> I want to remove bullets and other strange characters from textarea. if
> the user enters the text by copying and pasting from Word, it does n
Hi,
I want to remove bullets and other strange characters from textarea. if the
user enters the text by copying and pasting from Word, it does not display
properly. On submission, the bullets and the double quotes basically turn into
a ? (question mark). Did anyone ever find a solution for
I strip those out,
> without knowing what other types may be added by the users? Ideally,
> there should be a way of displaying HTML contents in a textarea to
> solve my problem, or am I missing something?
>
> >Try chr(13) or even a combination of both
> >chr(13) &a
e a way of
displaying HTML contents in a textarea to solve my problem, or am I missing
something?
>Try chr(13) or even a combination of both
>chr(13) & chr(10)
>
>I am using a toolbar editor to save text from a textarea into a table. When
>I display the text in the same textarea
Try chr(13) or even a combination of both
chr(13) & chr(10)
-Original Message-
From: Kamru Miah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 10:43 AM
To: CF-Talk
Subject: Formating text within textarea
I am using a toolbar editor to save text from a textarea into a t
I am using a toolbar editor to save text from a textarea into a table. When I
display the text in the same textarea, I get chars for paragraphs. Using
ReReplace with chr(10) doesn't work. Could someone tell me how to
display new paragraphs within a textarea, p
I am building binamic survey . SO when i inserti g the value of the radio
buttons all works, but when i am trying to get the id of the textarea it does
not .
I do not know what to do next
Limit content in Textarea?
I am using JavaScript to limit the amount of text on can submit in the
textarea. Realizing disabling JavaScript may allow people to enter more
than 300 characters in the textarea field. Does anyone have any
suggestions or thoughts?
JavaScript:
function textCounter(
"Does anyone have any suggestions or thoughts?"
Yup, always do the validation on the server as well. JavaScript and other
client side validation is for the user interface -- to make it nice for the
person entering the data. Server side validation is for the application -- to
protect the data.
Server side validation.check the length before inserting dataif
it's too long...tell the user
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: ww
unt of text on can submit in the
> textarea. Realizing disabling JavaScript may allow people to enter more
> than 300 characters in the textarea field. Does anyone have any
> suggestions or thoughts?
>
>
>
> JavaScript:
>
>
>
>
> function textCoun
I am using JavaScript to limit the amount of text on can submit in the
textarea. Realizing disabling JavaScript may allow people to enter more
than 300 characters in the textarea field. Does anyone have any
suggestions or thoughts?
JavaScript:
function textCounter(field, countfield
/
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 5:02 PM
To: CF-Talk
Subject: Textarea that uploads images from Word docs behind the scenes.
Someone mentioned that there was a textarea field that did this.
Anyone remember the name? I can't fi
I think What you mean is there is a WYSIWYG editor out there that can do
that.
FCK and SoEditor have the functionality to allow you to upload images, but I
don't beleieve either actually lets you upload the image in the text area...
I think they both have you use an upload utility and then the
Someone mentioned that there was a textarea field that did this.
Anyone remember the name? I can't find it on the list. Or more likely I'm
not searching for the right terms.
~|
Introducing the Fusion Authority
Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Monday, October 09, 2006 12:53 PM
Subject: Single or Double Quotes - textarea values
> When I insert or update using the cfquery tag, some of the form fields has
> a long text string
> that is being palced i
- textarea values
When I insert or update using the cfquery tag, some of the form fields
has a long text string that is being palced into a text data type.
Sometimes the text from the textarea contains single quotations or
commas. This seems to throwing off my SQL statement. Should I be
wrapping
When I insert or update using the cfquery tag, some of the form fields has a
long text string
that is being palced into a text data type. Sometimes the text from the
textarea contains
single quotations or commas. This seems to throwing off my SQL statement.
Should I
be wrapping this form
textarea problem
paragraphFormat(form.fieldtxtarea) ?
On 8/26/06, Kris Jones <[EMAIL PROTECTED]> wrote:
>
> #replacenocase(form.fieldtxtarea,chr(10),"")#
>
> Cheers,
> Kris
>
> > and I want to output
> > the values of the field
> > exaxtly the same
On 8/26/06, Mike Tangorre <[EMAIL PROTECTED]> wrote:
>
> htmlCodeFormat()
Oh yeah. Bobby's right though, it's stored how it's stored.
Generally speaking, you want it to go in how you want it to come out.
:D
~|
Introducing the
paragraphFormat(form.fieldtxtarea) ?
On 8/26/06, Kris Jones <[EMAIL PROTECTED]> wrote:
>
> #replacenocase(form.fieldtxtarea,chr(10),"")#
>
> Cheers,
> Kris
>
> > and I want to output
> > the values of the field
> > exaxtly the same like:
> >
> > name1
> > name2
> > name3
> >
> > not like: name1 na
hr(13)##chr(10)#", "", "all")#
or just wrap it in pre tags ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 26, 2006 12:15 PM
To: CF-Talk
#replacenocase(form.fieldtxtarea,chr(10),"")#
Cheers,
Kris
> and I want to output
> the values of the field
> exaxtly the same like:
>
> name1
> name2
> name3
>
> not like: name1 name2 name3
>
> How can I catch the CR after
> every line ?
~
htmlCodeFormat()
From: <[EMAIL PROTECTED]>
> and I want to output
> the values of the field
> exaxtly the same like:
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion info
replace(form.value, chr(13)&chr(10), "", "all")
On 8/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi list,
> I have the following
> in a textarea (form):
>
> name1
> name2
> name3
>
> and I want to output
> the values of
Use ?
On 8/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi list,
> I have the following
> in a textarea (form):
>
> name1
> name2
> name3
>
> and I want to output
> the values of the field
> exaxtly the same like:
>
> name1
> name2
>
Hi list,
I have the following
in a textarea (form):
name1
name2
name3
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2 name3
How can I catch the CR after
every line ?
Uwe
inside a local variable outside of the textarea.
>
> This does not create whitespaces:
>
> #foovar#
>
>
> However, this creates the whitespaces:
> #methodname(number)#
>
> Now its just basically understan
Yes, it is actually #methodname(number)#
So there is definitely something in that is literally being
"seen" within the .
-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 5:12 PM
To: CF-Talk
Subject: Re: Eliminating Textarea W
TED]> wrote:
> Thanks Rob & Nathan.
>
> Actually I was able to come-up with a work-around. The workaround is to put
> the value inside a local variable outside of the textarea.
>
> This does not create whitespaces:
>
> #foovar#
>
>
> However, this creates the
Thanks Rob & Nathan.
Actually I was able to come-up with a work-around. The workaround is to put
the value inside a local variable outside of the textarea.
This does not create whitespaces:
#foovar#
However, this creates the whitespaces:
#methodname(number)#
Now its just basic
n 6/21/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote:
> I'm currently using a UDF that returns a simple alpha-num value. When used
> inside a form textarea, the value generates several leading whitespace
&
won't cut it out. Instead, try a replace on it.
>
> replace(myString,chr(160),"","ALL")
>
>
> -nathan strutz
> http://www.dopefly.com/
>
>
> On 6/21/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote:
> >
> > I'm currently using
rote:
>
> I'm currently using a UDF that returns a simple alpha-num value. When
> used
> inside a form textarea, the value generates several leading whitespace
> chars. Wrapping it in trim() doesn't work. Any suggestions? Thank you.
>
>
>
>
I'm currently using a UDF that returns a simple alpha-num value. When used
inside a form textarea, the value generates several leading whitespace
chars. Wrapping it in trim() doesn't work. Any suggestions?
Ben,
In your experience, have you found any reason not to do this for every insert
and update?
Steve
>Les,
>
>What I do is at the top of every page processing, I loop through the FORM
>scope to strip out special MS word characters, or replace them. Soemthing
>like this (part of my EscapeForm()
" Bashing Microsoft is so fun! I doubt I'll ever grow tired of it. "
Amen brotha!
~Dave the disruptor~
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241720
Archives: http://www.houseoffusion.com/cf_lists/thread
On 5/28/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
>
> Denny Valliant wrote:
> > One of the nice features of FCKEditor is the "paste from Word",
>
> I forgot to mention - they're copying and pasting from a FileMaker Pro
> database on a Mac. Gawd only knows where the original material came from
> be
WOT but I noticed Flex 2 beta 3 has a fairly good "rich text editor" that could
probably do with an update like image uploading for starters.
While CFMX7 flash forms are useful - the Flex/CF support will rock my world.
PT
www.actcfug.com
~
Denny Valliant wrote:
> One of the nice features of FCKEditor is the "paste from Word",
I forgot to mention - they're copying and pasting from a FileMaker Pro
database on a Mac. Gawd only knows where the original material came from
before it was in Filemaker...
I keep telling them - it's two d
Denny Valliant wrote:
> One of the nice features of FCKEditor is the "paste from Word", which
> seems to work pretty good.
I use FCKEditor on a few sites, and TinyMCE (?is that correct?) on a few
others. I've thought about using it for the textarea in question - but
it do
r" <[EMAIL PROTECTED]>
Sent: Sunday, May 28, 2006 11:15 PM
To: CF-Talk
Subject: Re: cfinsert and pasted crap in a textarea
I love that "Paste from word" feature - it will autaomtically strip out all
that
But i havent been able to figure out how come sometimes it wraps the co
I love that "Paste from word" feature - it will autaomtically strip out all
that tags, other times inAnd why sometimes it removes
tags, other times it doesnt.
Does anyone know what's going on there?
Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webwor
One of the nice features of FCKEditor is the "paste from Word", which
seems to work pretty good. I don't do it too often but it seems hunky-
dory when I've tried it.
I don't think the UTF-8 will work, but don't know for sure.
:D
Client has decided to cut 'n paste from various sources though, and
dave wrote:
> a few tags on cflib that do this but I have yet to find one that completely
> work.
> No good solution but not to do it, worse case show them how to paste it into
> notepad first then into site.
Heh - fat chance. This client is screaming bloody murder about the time
it takes just
;
Sent: Thursday, May 25, 2006 8:22 PM
To: CF-Talk
Subject: Re: cfinsert and pasted crap in a textarea
> they paste and save, it *might* look OK in their browser, but a direct
> examination of the record shows the dreaded "little boxes" that come
> from the MS Word version
-
The 8000+ char values are MS Word quotes and apostrophes and dashes.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 8:06 PM
To: CF-Talk
Subject: cfinsert and pasted crap in a textarea
> they paste and save, it *might* look OK in their browser, but a direct
> examination of the record shows the dreaded "little boxes" that come
> from the MS Word version (amoung other things) of quotes...
Whoop - this is a mySQL database, by the way.
~~
Using cfinsert to add a record from an admin form.
There's a text area for a description and as long as you type directly
into it, no problem. You can put any darned thing in there you want.
Client has decided to cut 'n paste from various sources though, and when
they paste and save, it *might*
PM
To: CF-Talk
Subject: Re: Textarea width
well... close but:
but you prolly knew that.
tw
On 5/24/06, Marty Johll <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Marty
>
> On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
> >
> > Is
well... close but:
but you prolly knew that.
tw
On 5/24/06, Marty Johll <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Marty
>
> On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to specify a textarea fiel
Marty
On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
>
> Is there a way to specify a textarea field's columns to be 100% or the
> field
> size?
>
>
>
>
>
>
~|
Message: http:/
Is there a way to specify a textarea field's columns to be 100% or the field
size?
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241397
Archives: http://www.houseoffusion.com/cf_lists/threads.
EMAIL PROTECTED]
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs
Does anyone know how to use a textarea as a multi input field? F.e. I'v
seen a form which uses a textarea to insert mulitple email addresses each
separated by
I want to use a textarea form feild to insert multiple values. f.e. I've seen
it used to insert muliple email addresses seperated by a carriage return.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237785
Arc
Of course then if you need to pre-populate the textarea, you need to
use the same sort of strategy:
#ValueList(myQuery.column,chr(13) & chr(10))#
-- you may find that you only need one or the other character when
embedding those values in the html due to the browser's handling of
li
Same concept, one TEXTAREA field and on the action page, just parse the
Results as a list type field using the carriage return as the delimiter.
-Original Message-
From: j s [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs
You can put whatever you like into a textarea field. If you put multiple
email address in there, seperated by a comma say. Then all you need to do is
to loop over the contents of that field to perform multiple inserts when
you're processing the form.
-Original Message-
From: j s [m
j s wrote:
> Does anyone know how to use a textarea as a multi input field? F.e. I'v seen
> a form which uses a textarea to insert mulitple email addresses each
> separated by the carriage return.
>
On your processing page, you can use something like the followi
When processing, just treat the form value as a list with chr(13) and
chr(10) as its delimiters.
On 4/14/06, j s <[EMAIL PROTECTED]> wrote:
> Does anyone know how to use a textarea as a multi input field? F.e. I'v seen
> a form which uses a textarea to insert mulitple ema
Just treat the resulting form.variable as a list using CHR(13) and
CHR(10) as delimiters.
-Original Message-
From: j s [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs
Does anyone know how to use a textarea as a multi input
Does anyone know how to use a textarea as a multi input field? F.e. I'v seen a
form which uses a textarea to insert mulitple email addresses each separated by
the carriage return.
~|
Message: http://www.houseoffusio
You should be able to use the examples you have seen with ASPX, as the
vbscript you are using will be client side...so the backend shouldn't
really matter. And, as I'm sure you know, this will be IE only, and
only if the security settings in IE allow it.
On 2/14/06, Ciliotta, Mario <[EMAIL PROTEC
Hi,
Does anyone know or have an example of how to call Microsoft Word's Spell
Checker thru VBScript. My users would like a me to add a textbox on a page
with the spellcheck button that opens up Words Spell Checker. I have seen this
done on ASPX pages but not on a CFM page. I know that there
Use a PRE tag around it.
cheers,
barneyb
On 7/20/05, Michel Deloux <[EMAIL PROTECTED]> wrote:
> Hi all
> Sorry for OT.
>
> I am inserting a textarea into a database and when I retrieve the data I
> would like to show that same user formats with breaks, returns and so
>
Hi all
Sorry for OT.
I am inserting a textarea into a database and when I retrieve the data I
would like to show that same user formats with breaks, returns and so
on. But only show inline text without formatting. Using
HTMLEditFormat, ParagraphFormat,
Replace(UserInputText,chr(13),"&
ou are on.
Pascal
> -Original Message-
> From: Martin Parry [mailto:[EMAIL PROTECTED]
> Sent: 25 November 2004 18:03
> To: CF-Talk
> Subject: RE: Convert Textarea to List?
>
>
>
> Just replace form.myList with the correct form field name.
>
> Should work
>
Just replace form.myList with the correct form field name.
Should work
Martin Parry
Macromedia Certified Developer
http://www.BeetrootStreet.com
-Original Message-
From: Bob Haroche [mailto:[EMAIL PROTECTED]
Sent: 25 November 2004 17:05
To: CF-Talk
Subject: Convert Textarea to List
Simple when you've done it a few thousand times ;)
Glad it helped
Martin
~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:
My form has a textarea in which a user can input multiple values, one per
line, eg:
Green eggs and ham
Biscuits
Orange juice
On form submission, the value of form.textarea is a string "Green eggs and
ham Biscuits Orange juice"
I want to convert the above to a comma delimited list, e
Outstanding, so simple too. Thanks.
-
Regards,
Bob Haroche
O n P o i n t S o l u t i o n s
www.OnPointSolutions.com
~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
et
"Green eggs; ham,Biscuits,Orange Juice"
:)
Martin
-Original Message-
From: Martin Parry [mailto:[EMAIL PROTECTED]
Sent: 25 November 2004 17:03
To: CF-Talk
Subject: RE: Convert Textarea to List?
Just replace form.myList with the correct form field name.
Shoul
; > Does using HTMLEditFormat() make Replace() unnecessary?
> >
> > Or how should the code be changed?
> >
> > Thanks,
> >
> > Rick
> >
> >
> >
> >
> > > -Original Message-
> > > From: Pascal
The problem is that HTMLEditFormat is stripping CR/LF. Look at
http://www.cflib.org/udf.cfm?ID=664
Pascal
> -Original Message-
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 18:40
> To: CF-Talk
> Subject: RE: Problem with Quotation Marks in Tex
eplace() unnecessary?
>
> Or how should the code be changed?
>
> Thanks,
>
> Rick
>
>
>
>
> > -Original Message-
> > From: Pascal Peters [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 09, 2004 11:56 AM
> > To: CF-Tal
> Or how should the code be changed?
>
> Thanks,
>
> Rick
>
>
>
>
> > -Original Message-
> > From: Pascal Peters [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 09, 2004 11:56 AM
> > To: CF-Talk
> &
Thanks,
Rick
> -Original Message-
> From: Pascal Peters [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 09, 2004 11:56 AM
> To: CF-Talk
> Subject: RE: Problem with Quotation Marks in Textarea Formfield
>
>
> HTMLEditFormat
HTMLEditFormat()
Pascal
> -Original Message-
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 17:30
> To: CF-Talk
> Subject: Problem with Quotation Marks in Textarea Formfield
>
> When a user puts in Quotation Marks in a Textarea formfiel
sorry I meant URLEncodeFormat not URLDecode
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 11:52 AM
To: CF-Talk
Subject: RE: Problem with Quotation Marks in Textarea Formfield
I believe his issue is double quotes not single.
for
: Qasim Rasheed [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 11:40 AM
To: CF-Talk
Subject: Re: Problem with Quotation Marks in Textarea Formfield
use function preservceinglequotes if you are inserting those values in a DB
On Tue, 9 Nov 2004 11:29:31 -0500, Rick Faircloth
<[EM
use function preservceinglequotes if you are inserting those values in a DB
On Tue, 9 Nov 2004 11:29:31 -0500, Rick Faircloth
<[EMAIL PROTECTED]> wrote:
> When a user puts in Quotation Marks in a Textarea formfield
> the text gets cut off starting with the first quote...
>
&g
HTMLEditFormat()
On Tue, 9 Nov 2004 11:29:31 -0500, Rick Faircloth
<[EMAIL PROTECTED]> wrote:
> When a user puts in Quotation Marks in a Textarea formfield
> the text gets cut off starting with the first quote...
>
> How can I avoid this?
>
> (I search the HOF archives
When a user puts in Quotation Marks in a Textarea formfield
the text gets cut off starting with the first quote...
How can I avoid this?
(I search the HOF archives but didn't find anything helpful...)
Thanks,
Rick
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus
NO, don't modify the text before it goes into the database filling it with
html tags. Leave it exactly as they typed it. Only format it with the
replace() when displaying it in html. It will show up exactly as it was in a
textarea. If you do it like you're saying, all of the text will ru
One other imprtant thing I've run into when using replace for this purpose is
this: When you display the memo field in an edit form, those 's show up. I
usually use another replace() when outputting to an edit form. Something like:
Replace(string,""," ","ALL")
It seems to work well.
THE GAME!
When you insert the value as is in a memo field it whould retain the
carriage return.. If you show the value of the memo field in a textarea you
should see the carriage return.. The replace solution is to show the value
as text in html not in a textarea.. But carriage return are preserve as is
I try not to use paragraphformat() too much. Users usually end up
complaining that their single line breaks become doubles.
I usually input the text from a textarea just as they entered and then
format it on output with #replace(str, "#chr(13)##chr(10)#", "", "ALL&q
At 06:16 PM 11/6/04, Pat wrote:
>Just do this :
>
>
>
>
>#replace(your_variable,locCarriageReturn,"","ALL")#
>
Thanks for the several solutions proposed. However, here's my doubt: if the
text in the "Memo" field in Access is being stored without carriage
returns, that means that whatever code o
Roberto Perez wrote:
> Hi all,
>
> Quick question on textarea: I have a form with a box where visitors can
> type comments. The input goes to an Access database with a "memo" field. My
> problem is, if they type one or more carriage returns, the text in the
> "
Just do this :
#replace(your_variable,locCarriageReturn,"","ALL")#
Pat
-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: November 6, 2004 18:02
To: CF-Talk
Subject: RE: formatting in textarea
When you display the text, using ColdFusion,
ovember 04, 2004 11:10 PM
To: CF-Talk
Subject: formatting in textarea
Hi all,
Quick question on textarea: I have a form with a box where visitors can
type comments. The input goes to an Access database with a "memo" field.
My problem is, if they type one or more carriage returns, the text
Hi all,
Quick question on textarea: I have a form with a box where visitors can
type comments. The input goes to an Access database with a "memo" field. My
problem is, if they type one or more carriage returns, the text in the
"memo" field does not reflect that, and obvious
1 - 100 of 392 matches
Mail list logo