Two File Upload forms not working

Attach multiple files from a CF form to an email.

Overview

The issue occurs when the email action's attachment field list contains extra spaces between file field names.
Ensure the attachment field names in the email action are listed without any spaces, using only commas to separate them.

Answered
ChronoForms v5
ob obuena 30 Oct, 2020
I have a form with two upload fields where users can attach two different files.
For some reason, they are being uploaded to the folder correctly but they only one file is being attached

Here's the debug code:
Array
(
    [16] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `ntc_chronoengine_chronoforms_datatable_FirstCommunion` (`Emailaddress`, `AttendingParish`, `Catchment`, `radio13`, `text14`, `radio15`, `datepicker32`, `text16`, `datepicker17`, `text19`, `text18`, `text21`, `textarea22`, `text23`, `text24`, `text25`, `textarea26`, `text27`, `text28`, `button30`, `user_id`, `uniq_id`, `created`) values ('obuena@yahoo.com', 'Yes', 'Inside', 'No', 'Antonio Buerna', 'Female', '04-07-2007', 'Etobicoke', '11-05-2010', 'The Holy Trinity', '2', 'Anne Buena', 'Elsinore Path', '4169859959', '', 'Antonio Buerna', 'Elsinore Path', '4169859959', '', 'Register', '65', '1511b10fdbcd66376a056a1bdbbffa260e7f478d', '2020-10-30 02:30:03');
                        )

                )

        )

    [17] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : file36
                    [1] => images/FirstCommunion2020/20201030023003_StTeresa.png has been uploaded successfully.
                )

        )

    [19] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : file33
                    [1] => images/FirstCommunion2020/20201030023003_StTeresa2.jpg has been uploaded successfully.
                )

        )

    [0] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:obuena@email.com
                    [2] => Subject:Registration Confirmation e-mail 
                    [3] => From name:St. Teresa's First Confession and Communion 2020-2021
                    [4] => From email:
                    [5] => CC:
                    [6] => BCC:obuena@email.com
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => images/FirstCommunion2020/20201030023003_StTeresa.png
                        )
Max_admin Max_admin 30 Oct, 2020
Do you have any configuration regarding attachments in the Email action ?

If your form is simple enough then just rebuild it in the new v7
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ob obuena 30 Oct, 2020
Answer
1 Likes
Thanks for the help.
I was able to solve it last night
Turns out there's an extra space between email1, email2
should have been
email1,email2
This topic is locked and no more replies can be posted.