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: Thursday, October 16, 2003 12:30 PM
To: CF-Talk
Subject: Quotes in a Text Box Problem

If #import_detail.PA_SIZE# equals the value of: 15"x34"

This will display correctly inside a CFOUTPUT statement:

<cfoutput>Product Size: #import_detail.PA_SIZE#<cfoutput>

      will display correctly as

Product Size: 15"x34"

BUT......

This:

<input type="text"
        name="PA_SIZE"
        value="<cfoutput>#import_detail.PA_SIZE#</cfoutput>"
        size="32">

will show the text box and cut off after the first quote, so I get a
text box with just 15 in it.....

I know there's a fix, I just ain't found it yet.

Ideas?

TIA

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to