We're trying to upload PDF and word doc files. The confirmation page is displayed and the email is sent successfully. The email template contains the upload field's tag name (namely {resume}), but it doesn't contain the attachment.
I reviewed my form, which is in /components/com_chronocontact/uploads/submit-resume (name of form is submit-resume) and nothing is in there but the default index.html file. I also set the submit-resume folder to 777 just in case.
So there are no errors, yet no attachment nor saved file in the folder. Please advise.
I figured out my problem. 😀
First, /components/com_chronocontact/uploads/[name-of-form] should be a writeable folder, as I mentioned before. (Permissions set to 777)
But also, there's a
File Upload tab that is crucial to the operation of this. I changed the
name of the upload field using the Form Wizard. Because I changed the name, the File Upload tab had to be manually updated because it had the old field name. So I changed the following option:
Field names & allowed Extensions & sizes(KB) for eachThe first part of the coding is the name of the field, which I renamed to "resume". So I had to manually type in the field name; I changed it from:
[size=150][color=#FF0000]file_2[/color]
:doc|docx|pdf|rtf|txt{300-5}, .docx, .doc, .rtf, .txt{300-}[/size]to
[size=150][color=#008000]resume[/color]
:doc|docx|pdf|rtf|txt{300-5}, .docx, .doc, .rtf, .txt{300-}[/size]
Obviously, file uploads have to be enabled as well.
Hope this helps someone out there.🙂