Customize Error Alert when the size exceeds the permissible limit in AEM forms file Attachment
Hi All,
We are using File Attachment Component and have configured the maximum size of 1MB for an attachment.
The alert provided is OOTB when the size of the file exceeds 1 MB.
How can we restrict the Alert from coming and customize to our error Message.
This js is called ootb and we need to restrict it.

Thanks