I have a form that visitors use to nominate colleagues for an award.  Users 
must upload documents to support their nomination.  I have the MIME type for 
the uploaded documents restricted to PDF, DOC, DOCX, RTF, or TXT files.  I 
would like to have help in better understanding how I may produce a friendly 
error message to the user if the incorrect file format is uploaded.  I am using 
a form validation technique I learned from Ben Nadel where an array is used to 
hold the errors then display them to the user.  The full form can be viewed 
here:  http://pastebin.com/EuWERS4B. 

Thanks in advance. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5357
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to