• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to apply the filter for file selection  RSS feed

 
Sanjeev MutalikDesai
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we apply the filtering to html:file element so that when file chooser dialog box appears, the file type displayed should be as specified by me in the accept attribute of html:file.

eg:
<html:file property="file1" accept="image/jpeg"/>

If I use this, then file type shown should only of type *.jpeg .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!