How would I check the file being uploaded with the attachmentEditor for size and type before it gets saved to the database.
I haven't done this but you might be able to use HTML 5's File API to determine the size of the file being submitted. I'm guessing you would do this evaluation in one of the AttachmentEditor's events and then cancel the event if the file is too big?
Here's another link.
Steve
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.