AjaxUpload
Upload area for uploading multiple files in a FormIt form
Organization: Treehill Studio
Creator: Thomas Jakobi (jako)
About AjaxUpload
Display an upload area for uploading multiple files in a form. The upload queues can be filled and saved by FormIt hooks.
Information
Released
November 16, 2026
Supported Database
MySQL
License
GPLv2
Instructions
Installation by MODX Package Management
New in 2.2.0-pl
Added
- Add the ajaxupload.cache_path system setting
- Block the form submission while files are uploading
- Show messages for too many files, rejected files and FormIt hook errors
Changed
- Move the cache to {core_path}cache/ajaxupload/ (see migration)
- The deniedExtensions property replaces the ajaxupload.denied_extensions system setting, the built-in denied extensions always apply
- Show an error and keep the upload queue, when a file can't be saved, already exists or has expired
- AjaxUpload2Formit has to be the first AjaxUpload hook
- Update FilePond to 4.32.14
Security
- Harden the file extension, MIME type and file size checks
- Fix a reflected cross-site scripting with posted upload queue values
- Send files to the client as attachment with the detected MIME type
- Harden the remote fetch, use random transfer ids and restrict the hook file paths to the target path
Fixed
- Fix chunked uploads, the remote fetch, the load endpoint and the AjaxUploadRemove hook
- Fix filenames with non-ASCII characters or without extension
- Fix the cache cleanup and the upload queue restore
- Fix PHP errors and warnings, apostrophes in labels and broken upload forms after saving a resource