House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

cannot convert the value "x" to a boolean

Author:
Raymond Camden
04/30/2012 07:52 AM

You can check to see if a value can be treated as a boolean by checking isBoolean(). > >>I see two issues. First, you are trying arguments.query like a list, >>but you don't use the value. Ie, you said, loop over it and put the >>value in "keyword", but your code never uses it. >> >>Secondly - you seem to be wanting to treat the keywords as booleans. >>That's not going to work. >> >> >>> > > Hi Ray thanks for the reply. > > Can you tell me how I should treat the boolean, and do I need to place the boolean within an cfif statement? > > Appreciate your advice. > > Tom > >


Search cf-talk

June 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference