CF is server side but you could integrate client side code into the form. Some JS for example.
Tony Gruen -----Original Message----- From: Claremont, Timothy [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:09 AM To: CF-Talk Subject: CFFILE Input Filter? Can anyone tell me if I can filter the input on a CFFILE input screen? I know I can filter what the server will accept, and throw an error, but I would like to prevent users from even attempting to upload anything but an Excel file if possible. In other words, when the user clicks the button to browse their own computer for the file that they want to upload, I want it to only display the .XLS files, instead of ALL files. Apparently the following code does not achieve this: <input type="file" name="filetoupload" size="75" accept="application/msexcel"> Thanks in advance! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete. it. Thank you, ViaHealth ********************************************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4