I don't think you need the #s around the first evaluate.  When you put
it in quotes within IsDefined() that automatically looks at it as a CF
variable or function and I don't think the pounds are necessary.  Try it
like this...

<cfif isDefined("Evaluate(formVar)") and evaluate(formVar) NEQ "">

John Burns

-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 12:17 PM
To: CF-Talk
Subject: RE: String index out of range: 0

you could try rewriting it to something like


<CFIF StructKeyExists(Form, formVar) AND Len(Form[formVar])>


HTH

-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Monday, March 8, 2004 17:02
To: CF-Talk
Subject: String index out of range: 0

Can anybody tell me what this "String index out of range: 0" error
means?  I
get it when I try to do this.

<cfif IsDefined("#Evaluate(formVar)#") and #Evaluate(formVar)# NEQ "">

Thanks,
Tim
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to