> <CFIF NOT Len(Trim(Form.firstname))> doesn't work
>
> whereas <CFIF Len(Trim(Form.firstname)) GT 0> does work.
>
> Why?

This really depends on the version of CF you're using - some have odd
inconsistancies.

When doing a Len, it's always best to use GT 0 or IS 0 than trust to the
boolean logic

HTH

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
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.

Reply via email to