Forums

File upload event - where to? file not received

PieroA 21 Mar, 2018
Answer
Just migrate from CF5. Some quick issues I am facing:

1- I have added the "upload files" event to the "SUBMIT" area on the right after the "EMAIL" event. Is this correct, or must it be placed into the "LOAD" section?
2- When testing the form, and adding a file, I do not receive any attachment in my inbox even if I can see that the attached files has been saved into the correct "uploads" directory, what am I doing wrong?
3- I placed the "message" event into the "SUBMIT" to display a thank message but if I add,a t the end, a "redirect" event to display the website home page, the previous "message" is not displayed. Any suggestions?

Thank you very much
Piero
GreyHead 21 Mar, 2018
1 Likes
Hi Piero,

The Upload Files action needs to be *before* the Email action - otherwise the file is not uploaded when the email is sent.

You can't use a ChronoForms message with a ReDirect as the CF page is not displayed. You should be able to use a Joomla! System message instead.

Bob
PieroA 21 Mar, 2018
Thank you!!! it works🙂
that was the key.
I still have to better understand how the various events must be placed in the LOAD and SUBMIT areas.
GreyHead 21 Mar, 2018
Hi PieroA ,

Almost always they are run in the order they are in the event area.

Bob
This topic is locked and no more replies can be posted.