Skip to main content
March 7, 2025
Question

Need to check the size of the documents not exceeded beyond 10 MB on the interface while uploading

  • March 7, 2025
  • 8 replies
  • 0 views

I need to check whether the documents uploaded by the user is not exceeded 10 MB. Apart from using document function which requires the document ID how this can be implemented

8 replies

stefanhelzle0001
March 7, 2025
mikes0011
Brainy
March 7, 2025

March 7, 2025

Thank you for your response Mike but I want to use forEach to calculate the size for all the files uploaded, will

March 7, 2025

Thank you everyone it worked!! I can see for every other file uploaded

March 8, 2025

How to check and disable the file upload if size limit exceeded

stefanhelzle0001
March 8, 2025

What do you mean with "disable". If you follow the code example I shared, the field validation triggers and the form cannot be submitted.

If this is not what you need, please describe in more detail.

March 9, 2025

Although the validation is coming up but still document can be submitted further only the user can remove it after following the validation