I could be wrong, but I don't think there is a reliable method to
accomplish what you're looking for... 

http://htmlhelp.com/reference/html40/forms/input.html#file

Although it looks like it's part of the spec, I think browsers ignore
attempts at setting "accept"



On Wed, 2008-07-16 at 14:06 +0930, Nicole Luneburg wrote:
> Hi all,
> 
> Got another prob that I've also been trying to fix for a while ...
> I have a file upload tag like:
> 
> <s:file name="fileName" label="File" />
> 
> I want to be able to specify what types of files are shown in the File Upload 
> dialogue's "Files of type" field.
> Right now it just says "All Files". I want to limit this to say *.csv files.
> 
> I have tried adding this:
> 
> accept="application/csv"
> 
> also tried:
> 
> accept="csv"
> 
> but none of these appears to change anything at all.
> 
> What am I doing wrong?
> 
> Thanks!
> Nicole
> 
> ________________________________
> The contents of this email are confidential and may be subject to legal or 
> professional privilege and copyright. No representation is made that this 
> email is free of viruses or other defects. If you have received this 
> communication in error, you may not copy or distribute any part of it or 
> otherwise disclose its contents to anyone. Please advise the sender of your 
> incorrect receipt of this correspondence.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to