[Top] [All Lists]

Re: masking file types with cfInput?

Subject: Re: masking file types with cfInput?
From: GArlington
Date: Mon, 13 Aug 2007 01:59:40 -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.

AFAIK you can do it ONLY using javascript OR on server. Do not forget
that the value in input type=file is read-only.

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