Just check the length of the file field. 
<cfif len(trim(form.fielfield))> 

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: Lee [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 10, 2005 4:34 PM
To: CF-Talk
Subject: Testing File Upload

I have a file upload option on a form page where the user 
may or may not attach a file. How do I test on the  action 
page if the user attached a file? Isdefined and 
paramaterexists always come in true.

Lee Surma



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220613
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