You get control when they submit the form.

Test the <input type="file" ....> field to see if it is non-blank,

   yes: Issue a cffile command to upload the file for.

Set the flag.

HTH

Dick

At 11:46 PM -0400 5/30/01, David Hannum wrote:
>If I have a form that has one of the fields offering the option of uploading
>a file, what's the best way to detect if they actually did upload a file?
>The reason being, that I am doing an Insert or Update in a database file,
>and I want to flag if they did provide a file to upload.
>
>Thanks,
>Dave
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to