Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
In this article, we are going to show you how to check multiple files and total up their file size so that it will not exceed a certain threshold through Bean Shell validator.
This is an example where you want to upload a file that exceeds 5 MB.
This is an example where all the files are below 5 MB but they total up to exceed 5 MB which causes the validator to work.
To do this, go to a file upload element and select bean shell validator and insert the code below into script.