pb with attachment sent with the form

How to fix missing file attachments in ChronoForms emails.

Overview

The issue occurs when the file input name is not added to the Attachments box in the email action and the actions are in the wrong order.
Ensure the email action is enabled, add the file input name to the Attachments box, and verify the Upload Files action is placed before the email action in the correct sequence.

Answered
mo moi34 20 Aug, 2014
Hello,
I've created a new form but this time I would like the visitor to be able to send a file with the form.

I've added a "file field" in the designer part and in the setup part 've added a "files upload" action and enabled it just before the "checkrecaptcha"

when I try my form and attach a file there is no attachment in the email.
I added a debug part to see what happen here what it say :
Data Array
Array
(
    [chronoform] => contribution
    [event] => submit
    [nom] => test
    [email] => test@test.fr
    [sujet] => resr
    [message] => esrser
    [recaptcha_challenge_field] => 03AHJ_VuurfCs0rtMMK17GqJgxQ7glSbWHzdeVwZdANjYtmYE9cT-SnfjaAkNEkdkhcVWLD_zFx0dxNrrHOnan1mH6-O6eA4AzIfuHQXygNNN9lH7CLVSH8VHn0F-QrSY_9X0XRa-HSICs-9ebIMImqprKbkcctTfZCtKqqQ9zFX6B-k4KW_TBhqAxhfb8i9TyMyrCSVaAF6HC
    [recaptcha_response_field] => ribleix same
    [button5] => Envoyer
    [Itemid] => 888
    [contribution] => 
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
)


what did i do wrong ?

Thanks in advance for your help
Gr GreyHead 20 Aug, 2014
Answer
Hi moi34,

Is the email enabled? It doesn't show up in the debug info.

Do you have an Upload Files action? That's not there either.

Have you added the file input name to the Attachments box in the email action?

Bob
mo moi34 20 Aug, 2014
Thanks a lot bob,
It works perfectly now
I forgot to add the file input name to the Attachments box in the email action and I had a mix up with the order of the different action.

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