Howdy y'all!
I am having a problem, a minor one for most of you I am sure.
I have two forms. *form1* has a form with action set to *form2* (form names not actual names). Within *form1*, I have one <input type="file" name="file">.
Within *form2*, I am trying to make sure a file has been chosen to upload. When using <cfif isdefined("form.file"
> or <cfif isdefined("#form.file#"
>, I get errors as though the form variable is not passed alone with other variables from *form1*.
I removed the <cfif ...> alltogether and <cffile ...> then gives me an error saying that *file* does ot contain a file name to upload.
All fields are filled in, and the target and source directories have proper permissions. I noticed that on process report, all variables from *form1* are listed with their respective values, except, *file*.
How do I get around this?
Thank you all in advance!
Regards;
Jose Lerebours
KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
I am having a problem, a minor one for most of you I am sure.
I have two forms. *form1* has a form with action set to *form2* (form names not actual names). Within *form1*, I have one <input type="file" name="file">.
Within *form2*, I am trying to make sure a file has been chosen to upload. When using <cfif isdefined("form.file"
I removed the <cfif ...> alltogether and <cffile ...> then gives me an error saying that *file* does ot contain a file name to upload.
All fields are filled in, and the target and source directories have proper permissions. I noticed that on process report, all variables from *form1* are listed with their respective values, except, *file*.
How do I get around this?
Thank you all in advance!
Regards;
Jose Lerebours
KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours