macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: masking file types with cfInput?

Subject: Re: masking file types with cfInput?
From: GArlington
Date: Mon, 13 Aug 2007 02:00:28 -0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion
On 12 Aug, 22:08, "900spg" <[email protected]> wrote:
> Can I mask the file type when using the cfinput tag for browsing for files?
>  ie.
>  <cfinput name="imagefile" type="file" accept="image/jpeg" required="yes"
> message="You must select an image.">
>
>  I want to limit the browse dialog to only show jpg files.

That is you can ONLY validate that the file that WAS picked is jpg...


<Prev in Thread] Current Thread [Next in Thread>