Hi, I'm trying to create a input form that will only accept PDF's and images. 

I've tried validateat="onsubmit", but haven't had any luck returning an error 
to the user. Any suggestions? 

Here's the code: 

<cfinput 
type="file" 
required="no" 
name="cprAdultImage" 
value="" 
accept="application/pdf,image/tiff,image/jpeg,image/x-png" 
/> 

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

Reply via email to