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:
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 )