RE: Quotes within a quoted value

2001-05-07 Thread RBickham


 Thanks Judi and David.  I combined both of your suggestions to get it
 working.  I ended up with: 
 
 INPUT TYPE=Text NAME=DiaFt SIZE=20CFIF
 IsDefined(EditEntry)CFOUTPUT QUERY=equipitem
 VALUE=#Replace('#Diaft#', '', 'quot;', 'ALL')#/CFOUTPUT/CFIF
 
 The double quote was lost in the INPUT tag, so by replacing it with the
 quot; 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]
 To: [EMAIL PROTECTED]
 Subject: RE: Quotes within a quoted value
 Message-ID: [EMAIL PROTECTED]
 
 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.
 
 snippet
 #SizeNumber# #Replace(#FORM.SizeText#, ,  inches, ALL)#
 /snippet
 
 Judith
 
 Judith Taylor
 ICQ: 67460562
 Freelance ColdFusion Developer - Athens, OH
 
 
 Date: Wed, 02 May 2001 13:17:13 -0500
 From: Hayes, David [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: Quotes within a quoted value
 Message-ID:
 [EMAIL PROTECTED]
 
 You could do a replace with quot;
 
 -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 returned by the query is a meaurement like 12'3.  The
 problem comes when the HTML tag is evaluated, it assumes the  after the 3
 is the closing quote and doesn't display it.  Anyone know a way around
 this?
 Here's the code:
 
 INPUT TYPE=Text NAME=OAWft SIZE=20CFOUTPUT QUERY=equipitem
 VALUE=#OAWft#/CFOUTPUT
 
 Thanks,
 Randy
 

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Quotes within a quoted value

2001-05-02 Thread Hayes, David

You could do a replace with quot;

-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 returned by the query is a meaurement like 12'3.  The
problem comes when the HTML tag is evaluated, it assumes the  after the 3
is the closing quote and doesn't display it.  Anyone know a way around this?
Here's the code:

INPUT TYPE=Text NAME=OAWft SIZE=20CFOUTPUT QUERY=equipitem
VALUE=#OAWft#/CFOUTPUT

Thanks,
Randy


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



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.

snippet
#SizeNumber# #Replace(#FORM.SizeText#, ,  inches, ALL)#
/snippet

Judith

Hayes, David put into words:
You could do a replace with quot;

Judith Taylor
ICQ: 67460562
Freelance ColdFusion Developer - Athens, OH

Friends don't let friends code before coffee.


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists