<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:241957
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to