Title: FusionScript question...

What is the value?  The only things that evaluate to false are the string “false”, the string “no”, the number 0, or a function that returns a boolean.  Anything else should evaluate to true or throw an error.

 

when I do an alert(theVariableI'mPassing); and getting the correct value.

That makes me think you might be needing a len(value) or isDefined(value) evaluation.

 

**************************

Billy Cravens

Web and Software consulting

www.Architechx.com

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ron Mast
Sent: Monday, November 25, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: FusionScript question...

 

Hi All,
Sorry to bother you guys on this…I have FusionScript v1.1 on a CFServer 5.0.

Has anyone run into an issue with <cf_fs_if condition=""> statement?

I'm passing a variable, pulling the value from an activeServer page, to the condition attribute, and no matter what I do…It's evaluating the variable as "true" when it should be false, even though when I do an alert(theVariableI'mPassing); and getting the correct value.

But if I hardcode the value false like so: <cf_fs_if condition="false"> I then get the second part of my FS if statement to run.

Files are available upon request.

Any help would be greatly appreciated…thanks in advance!

Ron Mast
Truth Hardware
Webmaster
(507)444-4748

Reply via email to