Here's my setup:
Joomla 1.5.6
Chronoforms 3.0 stable
Form Tag Attachment: enctype='multipart/form-data'
File Uploads Allowed: Yes
Field Names/Ext: file_2:jpg|png|gif{1000-1}
Email Template: File: {file_2}
Field Html: <div class="form_item"><div class="form_element cf_fileupload"><label class="cf_label">Upload your pic</label><input class="cf_inputbox" size="20" id="file_2" name="file_2" type="file"></div>
Right now I'm getting the name of the file in the email - I would like that actual file as an attachment...
Is that possible? Thanks Max🙂
Rod
lets first check that file got uploaded to component/com_chronocontact/uploads/form name/ ?
then please overwrite your file with the attached one, seems that I missed something which will be necessary for some users...
let me know soon.
Regards
Max
You da man...
the images were being uploaded...
the new file did the trick🙂
thanks!
Rod
as always - I really appreciate this extension - one of the best.
Regards
Max
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.
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 each
The 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.🙂
Glad you got it sorted - there's a File Uploads tutorial that covers most of this but I should update it to cover the field renaming more explicitly.
Bob
PS Looks like some junk in the end of the file upload entries shoudl just be resume:doc|docx|pdf|rtf|txt{300-5}
Hi toneee,
Glad you got it sorted - there's a File Uploads tutorial that covers most of this but I should update it to cover the field renaming more explicitly.
Bob
PS Looks like some junk in the end of the file upload entries shoudl just be resume:doc|docx|pdf|rtf|txt{300-5}
Thanks Bob. Do you have a link to this tutorial?