Les,


Try this:


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


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 hate tags nested like
that, but it's a personal preference.


Steve

-----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