Regarding restriction on the size of attachments
I need to restrict the size of the attachment when we create a shopping cart to less than 1MB.
I am able to restrict it, but it is working fine only for a single attachment.
When I attach more than one attachment(total size more than 1MB) I can throw an error message to the user but when he deletes the attachment making the total size less than 1MB the message is still there.
Please share your experience if worked on the same.