Re: Line breaks being lost in textarea form field

2015-03-08 Thread Byron Mann
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

Line breaks being lost in textarea form field

2015-03-08 Thread Mark Spence
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

Re: Removing bullets from textarea

2013-11-06 Thread Joy Paulose
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

Re: Removing bullets from textarea

2013-11-06 Thread Joy Paulose
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

Re: Removing bullets from textarea

2013-11-05 Thread Dan G. Switzer, II
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

Re: Removing bullets from textarea

2013-11-05 Thread John M Bliss
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),

Re: Removing bullets from textarea

2013-11-05 Thread Joy Paulose
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 ~~~

Re: Removing bullets from textarea

2013-11-04 Thread John M Bliss
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

Re: Removing bullets from textarea

2013-11-04 Thread Phillip Vector
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

Removing bullets from textarea

2013-11-04 Thread Joy Paulose
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

Re: Formating text within textarea

2008-07-16 Thread Kamru Miah
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

Re: Formating text within textarea

2008-07-16 Thread Kamru Miah
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

RE: Formating text within textarea

2008-07-15 Thread Bobby Hartsfield
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

Formating text within textarea

2008-07-15 Thread Kamru Miah
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

Form.fieldnames for textarea

2008-05-08 Thread erik tom
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

RE: Limit content in Textarea?

2007-12-13 Thread Adrian Lynch
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(

Re: SOT: Limit content in Textarea?

2007-12-12 Thread Ian Skinner
"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.

Re: SOT: Limit content in Textarea?

2007-12-12 Thread Bryan Stevenson
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

Re: SOT: Limit content in Textarea?

2007-12-12 Thread Jordan Michaels
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

SOT: Limit content in Textarea?

2007-12-12 Thread Steve LaBadie
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

RE: Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Ben Nadel
/ -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

Re: Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Alan Rother
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

Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Andy Matthews
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

Re: Single or Double Quotes - textarea values

2006-10-09 Thread Charlie Hanlon
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

RE: Single or Double Quotes - textarea values

2006-10-09 Thread Ben Nadel
- 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

Single or Double Quotes - textarea values

2006-10-09 Thread coldfusion . developer
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&#

RE: OT: CR in a textarea problem

2006-08-26 Thread Bobby Hartsfield
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

Re: CR in a textarea problem

2006-08-26 Thread Denny Valliant
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

Re: OT: CR in a textarea problem

2006-08-26 Thread Denny Valliant
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

RE: CR in a textarea problem

2006-08-26 Thread Bobby Hartsfield
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

Re: OT: CR in a textarea problem

2006-08-26 Thread Kris Jones
#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 ? ~

Re: CR in a textarea problem

2006-08-26 Thread Mike Tangorre
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

Re: OT: CR in a textarea problem

2006-08-26 Thread Charlie Griefer
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

Re: OT: CR in a textarea problem

2006-08-26 Thread James Holmes
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 >

OT: CR in a textarea problem

2006-08-26 Thread cf-talk
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

Re: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Denny Valliant
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

RE: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Michael E. Carluen
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

Re: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Rob Wilkerson
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

RE: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Michael E. Carluen
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

Re: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Rob Wilkerson
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 &

Re: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Rob Wilkerson
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

Re: Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Nathan Strutz
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. > > > >

Eliminating Textarea Whitespaces on UDF retuned values

2006-06-21 Thread Michael E. Carluen
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?

Re: cfinsert and pasted crap in a textarea

2006-05-30 Thread Steve Bryant
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()

Re: cfinsert and pasted crap in a textarea

2006-05-29 Thread dave
" 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

Re: cfinsert and pasted crap in a textarea

2006-05-29 Thread Denny Valliant
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

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread Peter Tilbrook
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 ~

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread Les Mizzell
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

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread Les Mizzell
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

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread dave
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

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread Mike Kear
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

Re: cfinsert and pasted crap in a textarea

2006-05-28 Thread Denny Valliant
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

Re: cfinsert and pasted crap in a textarea

2006-05-25 Thread Les Mizzell
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

Re: cfinsert and pasted crap in a textarea

2006-05-25 Thread dave
; 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

RE: cfinsert and pasted crap in a textarea

2006-05-25 Thread Ben Nadel
- 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

Re: cfinsert and pasted crap in a textarea

2006-05-25 Thread Les Mizzell
> 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. ~~

cfinsert and pasted crap in a textarea

2006-05-25 Thread Les Mizzell
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*

RE: Textarea width

2006-05-25 Thread Adkins, Randy
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

Re: Textarea width

2006-05-24 Thread Tony
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

Re: Textarea width

2006-05-24 Thread Marty Johll
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:/

Textarea width

2006-05-24 Thread Coldfusion
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.

RE: TextArea for multi inputs

2006-04-14 Thread Loathe
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

TextArea for multi inputs

2006-04-14 Thread j s
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

Re: TextArea for multi inputs

2006-04-14 Thread S . Isaac Dealey
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

RE: TextArea for multi inputs

2006-04-14 Thread Coldfusion
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

RE: TextArea for multi inputs

2006-04-14 Thread Andy Matthews
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

Re: TextArea for multi inputs

2006-04-14 Thread Jordan Michaels
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

Re: TextArea for multi inputs

2006-04-14 Thread Rob Wilkerson
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

RE: TextArea for multi inputs

2006-04-14 Thread Everett, Al \(NIH/NIGMS\) [C]
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

TextArea for multi inputs

2006-04-14 Thread j s
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

Re: Spell Checking a Textarea

2006-02-14 Thread Jim Wright
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

Spell Checking a Textarea

2006-02-14 Thread Ciliotta, Mario
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

Re: OT: Formatting textarea

2005-07-20 Thread Barney Boisvert
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 >

OT: Formatting textarea

2005-07-20 Thread Michel Deloux
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),"&

RE: Convert Textarea to List?

2004-11-26 Thread Pascal Peters
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 >

RE: Convert Textarea to List?

2004-11-25 Thread Martin Parry
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

RE: Convert Textarea to List?

2004-11-25 Thread Martin Parry
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:

Convert Textarea to List?

2004-11-25 Thread Bob Haroche
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

Re: Convert Textarea to List?

2004-11-25 Thread Bob Haroche
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

RE: Convert Textarea to List?

2004-11-25 Thread Martin Parry
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

Re: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Charlie Griefer
; > Does using HTMLEditFormat() make Replace() unnecessary? > > > > Or how should the code be changed? > > > > Thanks, > > > > Rick > > > > > > > > > > > -Original Message- > > > From: Pascal

RE: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Pascal Peters
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

Re: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Douglas Knudsen
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

Re: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Donna French
> 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 > &

RE: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Rick Faircloth
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

RE: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Pascal Peters
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

RE: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread djones
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

RE: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread djones
: 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

Re: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Qasim Rasheed
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

Re: Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Charlie Griefer
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

Problem with Quotation Marks in Textarea Formfield

2004-11-09 Thread Rick Faircloth
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

RE: formatting in textarea

2004-11-07 Thread Ewok
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

Re: formatting in textarea

2004-11-07 Thread Will Tomlinson
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!

RE: formatting in textarea

2004-11-07 Thread CFDEV
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

RE: formatting in textarea

2004-11-06 Thread Ewok
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

RE: formatting in textarea

2004-11-06 Thread Roberto Perez
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

Re: formatting in textarea

2004-11-06 Thread Keith Gaughan
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 > "

RE: formatting in textarea

2004-11-06 Thread CFDEV
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,

RE: formatting in textarea

2004-11-06 Thread Dawson, Michael
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

formatting in textarea

2004-11-06 Thread Roberto Perez
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   2   3   4   >