Hey,
I have created a Web Form for the doctype Supplier.
In my form, there are 2 attach fields. I want to limit the attachment size to 1 MB.
I have added the size in the field available on Web form “Max Attachment Size (in MB)” but on submit (with file size >1 MB), there was no validation error message and the file was still attached in my records.
How can I validate the file size? Need assistance. Thanks.