I have a form using an input field to upload an image via CFFILE
the code is like this
<input name="picture" type="file" class="file" id="picture" size="35" value="#url.uploadedfile#" />
How can I use CF to validate that only the requested file types are allowed to be uploaded? I want to limit it to jpg/gif/jpeg ...
do I do it in the form field, or in the <cffile> function?
what is the syntax?