Thanks Alan for the advice. I always forget the TRIM function.
-----Original Message-----
From: Alan Rother [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 2:59 PM
To: CF-Talk
Subject: Re: Problems with LEN
<cfif LEN("Form.FirstName") GT 0>
You also do not need to do the GT 0, ColdFusion boolean operators use all
non 0 values as TRUE.
And you should also TRIM your values as someone may have entered a space
into the field
<cfif LEN(TRIM(Form.FirstName))>
=]
--
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241960
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54