Hi There is no way to do this using html. You can use javascript to do it but then you should double-check it at the server end.
HTML5 does have an accept attribute for that. On Mon, Aug 29, 2011 at 8:39 PM, hese <1024h...@gmail.com> wrote: > > Hi, > > I am using t:upload control in my form. I want the user to be able to > upload only .txt or .csv files. How to I control this? Right now I can see > all files enabled when the file dialog opens. > > Thanks! > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-control-file-types-extensions-in-t-upload-tp4746468p4746468.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org