> <CFIF NOT Len(Trim(Form.firstname))> doesn't work
>
> whereas <CFIF Len(Trim(Form.firstname)) GT 0> does work.
I'm able to use the first line of code without any problem, and have been
able to do that since CF 3.1. CF takes numeric values, such as that returned
by the Len function, and evaluates them to true or false; if the numeric
value is a positive integer (1+) it evaluates to true, otherwise it
evaluates to false.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.