Blog Sections Open
Attaching Multiple Images to an eForm Submission
Multiple file attachments in eForm are possible, but the form and mail-processing layer both need to be structured for repeated files instead of a single upload field.
eForm can handle file uploads, but attaching several images to one outgoing email requires a slightly different design than a single-file field. The front end must accept multiple uploads, and the mail-processing logic must iterate over all validated files.
What to plan
- input naming for multiple files
- file validation and allowed types
- where temporary uploads are stored
- how the mail handler appends each attachment
Recommendation
Do not bolt multiple uploads onto a single-file workflow blindly. Treat it as a dedicated attachment flow so the validation, storage, and cleanup remain predictable.
Using a TV Value as the documents Source for Ditto
When a TV stores a comma-separated list of resource IDs, Ditto can use it as the source list — but you need to read the TV from the correct document first.
Running Heavy Snippets Through AJAX in Evolution CMS
If a snippet is slowing down page rendering, moving it behind an AJAX request can improve perceived speed without changing the snippet’s core logic.