Re: quotes in quotes

2005-03-07 Thread Claude Schneegans
>>I'm not sure why you'd use anything other than escaping the Quotes by >>doubling them up. Just a question of preference. It depends which way looks clearer for you. For me, concatenation is a good opportunity to split the string into several lines. -- ___

Re: quotes in quotes

2005-03-07 Thread daniel kessler
>Double up on the double quotes inside the string in CF. I doubled up the quotes and it worked great. Hope I remember that one. Thanks all for the answers! As usual everyone was a great help. >onMouseOut=""bookview('hidden')'>Welcome! Your program benefits from the >fact that a href='nutshel

RE: quotes in quotes

2005-03-07 Thread Michael T. Tangorre
> From: Claude Schneegans [mailto:[EMAIL PROTECTED] > JSStringFormat() escapes characters JS wise, not CF or HTML wise. > The problem here is defining the string in CF, not in JS. Sorry, misread the question. ~| Logware (www.

RE: quotes in quotes

2005-03-07 Thread Kevin Aebig
I'm not sure why you'd use anything other than escaping the Quotes by doubling them up. #tmp# Kevin [KES geek] -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:36 AM To: CF-Talk Subject: Re: quotes in quotes &

Re: quotes in quotes

2005-03-07 Thread Claude Schneegans
>>How about JSStringFormat() JSStringFormat() escapes characters JS wise, not CF or HTML wise. The problem here is defining the string in CF, not in JS. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please s

RE: quotes in quotes

2005-03-07 Thread Michael T. Tangorre
> From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Try this: > >& ")' onMouseOut='bookview(" & '"hidden"' > & ")'>Welcome! Your program benefits from the fact > that a href='nutshell.cfm##connectors'>connector > is on ...")> How about JSStringFormat() ? ~

RE: quotes in quotes

2005-03-07 Thread Connie DeCinko
I had a similar issue and ended up solving it by storing the quotes within text as their HTML entities instead of the standard character. -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 8:31 AM To: CF-Talk Subject: quotes in quotes I have

Re: quotes in quotes

2005-03-07 Thread Claude Schneegans
Try this: Welcome! Your program benefits from the fact that a connector is on ...")> -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~

RE: quotes in quotes

2005-03-07 Thread Adrian Lynch
Double up on the double quotes inside the string in CF. Welcome! Your program benefits from the fact that a connector is on ...")> Ade -Original Message- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 15:31 To: CF-Talk Subject: quotes in quotes I have a string that

RE: Quotes in XML Output

2004-09-14 Thread Mark Leder
That's it! Thanks, Mark From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 11:34 AM To: CF-Talk Subject: RE: Quotes in XML Output XMLFormat()? > -Original Message- > From: Mark Leder [mailto:[EMAIL PROTECTED] > Sent: 14 September 2004

RE: Quotes in XML Output

2004-09-14 Thread Pascal Peters
XMLFormat()? > -Original Message- > From: Mark Leder [mailto:[EMAIL PROTECTED] > Sent: 14 September 2004 17:32 > To: CF-Talk > Subject: Quotes in XML Output > > Hi all, > I'm pulling data from a db and writing to an XML file.  The data from the > "description" field sometimes has quotes (

Re: Quotes in a Text Box Problem

2003-10-16 Thread Charlie Griefer
ooo...that's better :)   - Original Message -   From: Philip Arnold   To: CF-Talk   Sent: Thursday, October 16, 2003 10:13 AM   Subject: RE: Quotes in a Text Box Problem   HTMLeditFormat() escapes all special characters for you, including   quotes, ampersand, greater than and

RE: Quotes in a Text Box Problem

2003-10-16 Thread Philip Arnold
HTMLeditFormat() escapes all special characters for you, including quotes, ampersand, greater than and less than Don't try to do it with Replace as you're just going to have several of them to cover every eventuality -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent:

Re: Quotes in a Text Box Problem

2003-10-16 Thread Charlie Griefer
try: name="PA_SIZE" #replace(import_detail.PA_SIZE, , """ "all")# size="32"> charlie   - Original Message -   From: Les Mizzell   To: CF-Talk   Sent: Thursday, October 16, 2003 9:30 AM   Subject: Quotes in a Text Box Problem   If #import_detail.PA_SIZE# e

RE: Quotes in a Text Box Problem

2003-10-16 Thread DURETTE, STEVEN J (AIT)
Les, Try this:     name="PA_SIZE"     value='#import_detail.PA_SIZE#'     size="32"> notice the single quotes around the value.  I have found that if I want double quotes in an input I have to surround the value with single quotes. I also moved the cfoutput outside the input tag.  I

RE: Quotes in a Text Box Problem

2003-10-16 Thread Tony Weeg
is it htmlEditFormat() maybe? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 12:30 PM To: CF-Talk Subject: Quotes in a Text

Re: Quotes in dynamic queries [solved]

2003-09-17 Thread Richard Meredith-Hardy
My mistake, however it wouldn't solve my particular problem because this particular app is recording a 'history' of changes {"x changed from y to z"). Yes, I know I could do this with triggers / stored procedures but in this case it would be awfully complicated, so instead I am evaluating the for

Re: Quotes in dynamic queries [solved]

2003-09-17 Thread Jochem van Dieten
Richard Meredith-Hardy wrote: > > have That is incorrect, you can use it anywhere. > Second off, in a dynamic query like below, you need the > preservesinglequotes() so the single quotes 'surrounding' the text value > are not escaped automatically, however this will also preserve single >

RE: Quotes in dynamic queries [solved]

2003-09-17 Thread Douglas.Knudsen
>-Original Message- >From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 17, 2003 11:55 AM >To: CF-Talk >Subject: Re: Quotes in dynamic queries [solved] > > >Thanks for your answers > >have > ugh no. You can use it pret

Re: Quotes in dynamic queries [solved]

2003-09-17 Thread Richard Meredith-Hardy
Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > Email: [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -Original Message----- > > Fro

RE: Quotes in dynamic queries

2003-09-17 Thread Raymond Camden
romedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 17, 2003 8

RE: Quotes in dynamic queries

2003-09-17 Thread Douglas.Knudsen
look at using cfqueryparam. It will escape stuff automagically. I've also used HTMLEditFormat() before too. Doug >-Original Message- >From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 17, 2003 7:31 AM >To: CF-Talk >Subject: Quotes in dynamic queries > >

RE: Quotes in a query string

2002-12-12 Thread Raymond Camden
Use preserveSingleQuotes.. select foo from goo where #preserveSingleQuotes(mysql)# === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenf

RE: Quotes in a query string

2002-12-12 Thread Everett, Al
You'll want to review the PreserveSingleQuotes() function. > -Original Message- > From: Ryan Farrell [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 9:43 AM > To: CF-Talk > Subject: Quotes in a query string > > > I'm building a string to put in a cfquery. The string requi

RE: Quotes in a query string

2002-12-12 Thread Ryan Farrell
Bah, nevermind, forgot about the preserveSingleQuotes function. Thanks, anyways. Ryan > -Original Message- > From: Ryan Farrell > Sent: Thursday, December 12, 2002 8:43 AM > To: CFTalk (E-mail) > Subject: Quotes in a query string > > I'm building a string to put in a cf

RE: quotes

2002-04-15 Thread Adrian Lynch
outes come about through copying and pasting from Word ect. -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 13:09 To: CF-Talk Subject: RE: quotes I haven't checked too much to see if this is what you want, but this takes out left, right and straight

RE: quotes

2002-04-15 Thread Adrian Lynch
I haven't checked too much to see if this is what you want, but this takes out left, right and straight(?) double quotes and inserts the entity name for double quotes in to the database instead value="#trim(replacelist(form.var, "","","", "",",""))#" But... a problem I came across comes up

RE: quotes

2002-04-12 Thread Bryan Love
use the HTMLEditFormat() function like this: Problem solved :) B -Original Message- From: Heidi Belal [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:07 PM To: CF-Talk Subject: quotes Dear All, I'm facing a problem and can't figure out the solution and would love anyones h

Re Quotes

2002-04-12 Thread kellymconf
There should be a javascript out there somehwere that can search that form field for double quotes and throw an error if there are any telling the person to remove them before hitting send. Or upon inserting the quote Strip the double quotes or replace them w/ single quotes using the REplace funct

Re: Quotes?

2001-11-29 Thread Roel
HTML also works without quotes :) Roeligan - Original Message - From: "Gyrus" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 11:12 PM Subject: Re: Quotes? > > First, I need to know if CF or HTML care

Re: Quotes?

2001-11-29 Thread Gyrus
> First, I need to know if CF or HTML cares if attributes are single-quoted or > double quoted? I think with CFML it's down to your personal preference. I've settled on double quotes 'cos CF Studio seems to highlight double-quoted attribute values, making code easier to read. The two CFPARAM's y

Re: Quotes?

2001-11-29 Thread Kwang Suh
> First, I need to know if CF or HTML cares if attributes are single-quoted or > double quoted? CF doesn't care. HTML doesn't care. BUT, XHTML does care. So, use double quotes when doing HTML. > > What about: > > > and: > > > Is there a "correct" way to code quoted strings? Just be consist

RE: Quotes?

2001-11-29 Thread Kelly Matthews
Double quotes is already the preferred method. I would use Just my personal preference. -Original Message- From: Christian Abad [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 4:42 PM To: CF-Talk Subject: Quotes? Folks: I have some questions concerning the correct usage

RE: Quotes questions

2001-10-05 Thread Dave Babbitt
-Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 3:03 PM To: CF-Talk Subject: Quotes questions I'm using CFFILE and im trying to insert a list similar to the following in the output part of the tag: "#form.username#", "#form.firstname#", "

RE: Quotes questions

2001-10-05 Thread Owens, Howard
Try #chr(34)# for quote marks within CFFILE. H. Howard Owens Internet Operations Coordinator www.insidevc.com [EMAIL PROTECTED] AIM: GoCatGo1956 > -Original Message- > From: Kris Pilles [SMTP:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 12:03 PM > To: CF-Talk > Subject:

RE: quotes in text

2001-05-21 Thread Bob Silverberg
Try using the HTMLEditFormat function on your string. Bob -Original Message- From: Bobby Olsen [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 1:19 PM To: CF-Talk Subject: quotes in text When quotes are entered into a varchar column, the data gets stored properly. However, upon

RE: quotes in text

2001-05-21 Thread John Wilker
One method would be to replace the quotes when they are inserted with the corresponding ASCII char. J. John Wilker Web Applications Consultant Macromedia Certified ColdFusion Developer www.red-omega.com "Losing - If at first you don't succeed, failure may be your sty

RE: Quotes within a quoted value

2001-05-07 Thread RBickham
ote was lost in the INPUT tag, so by replacing it with the > " it wouldn't be rendered as a qoute. The browser interprets is as > the ISO char. > > Thanks, > Randy > > > Date: Wed, 02 May 2001 18:01:18 -0400 > From: Judith Taylor <[EMAIL PROTECTED]> &

RE: Quotes within a quoted value

2001-05-02 Thread Judith Taylor
The only problem with that is when the HTML is rendered, you're right back at square one. The only way that I got it to work for me was to replace the quotes with actual text. #SizeNumber# #Replace("#FORM.SizeText#", , " inches", "ALL")# Judith Hayes, David put into words: >You could do

RE: Quotes within a quoted value

2001-05-02 Thread Hayes, David
You could do a replace with " -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 4:22 PM To: CF-Talk Subject: Quotes within a quoted value I'm trying to put a value into an input tag and am coming up with a minor problem. The value returne

RE: QUOTES

2000-04-14 Thread Dave Watts
> Quotes and the proper use of, come up quite frequently on this list. I > thought I would pass on today's CF tip from TipWorld (highly > recommended > BTW)... > > QUOTES AND DE() > > As you've probably discovered yourself, quotes can be a pain during > processing. ColdFusion helps out by providin

Re: quotes and truncation

2000-03-30 Thread Jeff
kaigler, :~~ : From: cfm <[EMAIL PROTECTED]> : : input=hidden name="variable" value="#value#" : : if the user placed double quotes within the : variable "value" only the information up to the : second double quote actually gets stored on : my file. :~~~