Good day ! Help plz, How do I make in formit so that many files can be uploaded for one form submission? I can not find such information about this
Hi there,
How about http://jako.github.io/AjaxUpload/? Did you test it?
Alternatively please also have a look at https://www.dropzonejs.com solution
I can confirm that AjaxUpload will solve your problems. Use it myself with multiple attachments.
There is a file attachment function $ modx-> mail-> mailer-> AddAttachment, how to attach multiple files?
I believe you can just call this function repeatedly for every file that you want to attach.
foreach ($files as $file) {
$modx->mail->mailer->addAttachment($file);
}