Thanks GJ. I ended up getting it to work. The only problem is that now I can't use <CFIF Form.UpFile NEQ ""> to validate if the formfield is empty or not. I tried to use the variable x with it, like this:
<cfloop index="x" from="1" to=#form.numberInputs#>
<CFIF Form.UpFile#x# NEQ ""><cffile action="upload" fileField="form.upfile#x#" DESTINATION="#UploadDirectory#\#getUser.UserName#_#datetime#\"
NAMECONFLICT="MakeUnique"
ACCEPT="application/pdf,application/msword,text/html,application/vnd.ms-excel,application/vnd.ms-powerpoint,text/plain,image/jpeg,image/pjpeg,image/gif"></cfif>
</cfloop>
ColdFusion says that within the CFIF tag there is invalid syntax, the pound sign. What can I do?
Ryan ;-]