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]
- CFIF within input Robert Orlini
- RE: CFIF within input Tony Weeg
- RE: CFIF within input Tony Weeg
- RE: CFIF within input Hagan, Ryan Mr (Contractor ACI)
- RE: CFIF within input Robert Orlini
- RE: CFIF within input Robert Orlini
- RE: CFIF within input Tony Weeg
- RE: CFIF within input Dave Watts
- RE: CFIF within input Burns, John D
- RE: CFIF within input Tipton, Joshua
- RE: CFIF within input Mark W. Breneman
- RE: CFIF within input Tony Weeg
- RE: CFIF within input Mark W. Breneman
- RE: CFIF within inpu... Tony Weeg