You're missing a right angel bracket after the double quotes.  It should
read:
<CFIF trim(side_1_comments) NEQ "">value="#trim(side_1_comments)#"</cfif>

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 11:21 AM
To: CF-Talk
Subject: CFIF within input

I want to display text in a input box's value field if there is any info in
the database. The code I'm trying is:

<input type="text" size="95" name="side_1_comments" maxlength="100" <CFIF
trim(side_1_comments) NEQ "" value="#trim(side_1_comments)#"</cfif>>

But I get an error. It seems simple, but I must be missing something I can't
see.

Any suggestion please? Thanks.

Robert O.
HWW
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to