I am following the instructions on this page:
I have set the mime types for a file upload control to only accept images. If I try and save a document with a non image file, I was expecting an error message and for the save to be cancelled.
What actually happens is the document does save, but simply doesn’t include the attachment. This is with both client and server side validation.
Other fields are returning errors. I have tried individual and grouped error messages. I also tried making the upload field required, and it does return an error for that, but only with client side validation.
Any suggestions?
Thanks.
Karl