Forums

File upload issues

happydesign2 15 Jan, 2019
Hi all, i have a form that allows the users of the site, to send me all the data necessary to build flyers as texts and pictures. In the upload area there are two file pickers, but when i try to upload those files (in my server folder and as email attachments) i receive an empty e-mail.... Can you help me to solve this issue? Many thanx in advance!!πŸ™„πŸ™„πŸ™„πŸ™„[file=11401]Flyer_Builder1_15_Jan_2019_14_10_27.cf6bak[/file]
Max_admin 16 Jan, 2019
Hi,
​
Did you try to add a debugger action to the end of the submit event and test the form ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
happydesign2 18 Jan, 2019
Sure i did but i dont really understand things debugger says...
happydesign2 23 Jan, 2019
this is the debugger log[file=11506]debugger.txt[/file]
Thanx in advanceπŸ€—
happydesign2 25 Jan, 2019
[file=11522]Chronoforms6_http___testfield.happydesign2.it_25_Jan_2019_16_55_45.cf6bak[/file]
healyhatman 26 Jan, 2019
You could've just copy+pasted it
healyhatman 26 Jan, 2019
It's because you've set it up as a multi page form, and you haven't told the files to upload at the right time. If you don't upload the files to the server when the user does, those files will disappear.
​
Put the file upload and file fields last.
happydesign2 28 Jan, 2019
where exactly? I'm very new to Chronoforms.... I tried a lot of times but this form drives me really crazyπŸ™„πŸ™„
GreyHead 28 Jan, 2019
Hi happydesign2,
​
In a multipage form you have a series of events in the Setup tab. If you upload files in one event then you need to have the Files Upload action in the next one.
​
Bob
happydesign2 20 Feb, 2019
Please can you tell me how exactly I need to do and where i can place the actions? This is my very first time with Chronoforms and I still have hard problems with this forum. Thanks in advance!
healyhatman 20 Feb, 2019
Put it in the submit action your form is submitting to. So if the file upload field is on your page2 form, and your form is submitting to your page2_submit event. the file upload action goes in your page2_submit event. And it need to be BEFORE any actions that want to use the files being uploaded, obviously.
happydesign2 21 Feb, 2019
Now, files are sent on my server but they are not attached on email! It's an "half-resolution" to my problem but having them as attachment on email actually was not mandatory.... Anyway thank you for your assistance!!πŸ˜‰
healyhatman 21 Feb, 2019
Did you remember the put the file upload action before the email action?
happydesign2 02 Mar, 2019
Good morning now the files are sent on the server. but are not attached in email.... THX
healyhatman 02 Mar, 2019
Again if the file upload happens on a different page then they're not going to auto attach. After the file upload action, you can put a save to session action with the data source set to {var:upload#.[n].path} replace the # with the number of your upload action. Then in the file attach section of the email put {session:sessionvariablenameyouchosebefore}
This topic is locked and no more replies can be posted.