Limit the weight of the pdf

Hello, I am making an app to upload 5 products per product, I would like to make the user attach the pdf so that they can upload more photos, but I would like to know how to limit the weight of the pdf?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.