Hi, I had some help from Bob a while ago to allow me to add a repeater section and the add those items within an email, this was for text fields.
I need to do this for files. I have taken the same code but it does not seem to work, it puts the line items in the email which is great but does not upload the photos.
Can you let me know what I am doing wrong, see attached file for details.
[file=11262]Main_Design_Area.docx[/file]
Numerous posts on this.
Name the file field file[{var:area_repeater#.key}] or something along those lines
In your file upload action you need the name of the field without the bracket part, and the extension. So, say, file:PNG,JPG, jpeg you can't rely on auto add
Hi, I have seen the various posts but unfortunately none of them quite match mine.
I have followed your instructions above but still does not work. To be sure, I did as above:
1. Named my file upload field to be: [{var:area_[strong]repeater[/strong]19.key}] - The repeater field is 'area_repeater19'
2. In my file upload action, in the field called 'File name provider' i added '{var:area_repeater19.key}' removing the brackets as described above.
How do I now get the file links to show up in my email, as I want the email to have the clickable links to the files.
Thanks.
Hi, any thoughts on my question above?
Needs to be somename[{var:area_repater#.key}]
Sorry not sure what you mean by somename, do you mean same name? And are you saying use # instead of '19'?
somename as in you need to have SOMETHING in front of the brackets. Like "customerID[{var:area_repeater19}]". And I used # as a placeholder - you should use 19 in your case.
Hello,
The 2 important steps for this to work are:
- The file field name should be something like: file6[{var:area_repeater1.key}], where "area_repeater1" is the name of the repeater.
- In the Upload files action, add this to the "Custom files config": file6:pdf,png,jpg (or any extensions you need)
Best regards,
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
{var:upload#.[n].path} in the attached files box. Replace # with the correct number
Didn't work because your file upload action didn't work.
The files did upload to the server, it's just that they did not attach to the email. Any elaboration on 'file upload action didn't work'?
According to the debug you last posted, no files were uploaded
Sorry, my mistake. They did upload prior to adding the additional code you sent me. Once I added the code it was then no longer uploaded.Should the code you suggested be added to the email action under 'Attachments List', if so then this does not work and prevents both the files being uploaded and did not solve the issue of having the files attached to the email.
It should be added to attachments list as {var: upload3.[n].path}
Don't copy paste from forums always type manually
Send a screenshot of your file upload action. Also make sure it's BEFORE the email action.
Got anything in the "failed" event for the file upload? Could you put a message in there to be displayed if your upload fails, because based on the debug you've sent your files are NOT being uploaded.
Hi, any news on this, would love to get this working as soon as possible.
Cheers
Sure is! I wrote a reply for you above. Please read.
Sorry, missed it, did't realise we got to page 2🙂
Where do I add this, as there is no specific field called just 'failed' in the upload action, just ''Max size exceeded error','Min size limit error','File extension error'. These fields all have text in them.
There should be a success event and a giant red failed event you can put other actions in.
well if there's an error then no they didn't upload properly. You'll just have to upload a backup form for us to look at, or pay me to fix it for you, or send an email to the developer using the contact button up top.
Okay, the files did upload correctly as I can download them and open them. I can upload the form that is not a problem. See attached.
[file=11406]Instrument_Submission_Bob_16_Jan_2019_09_19_44.cf6bak[/file]
Out of interrest what are your rates?
Per job depending on complexity
Also I can't look at that backup right now my internet is down. Typing this on mobile.
Okay, let me know if something obvious if not let me know what it will cost to make this work, seems like it should be something taht just works but hey.