Hi, when I use the upload field in pro forms, I want to allow users to upload .docx files. I’m trying to use the correct MIME type (application/vnd.openxmlformats-officedocument.wordprocessingml.document), but the system is not recognizing it. It does work for other mime types, like pdf or doc.
Hey Giovanni,
there was an issue with FilePond .docx
related file validations:
opened 08:22PM - 16 May 18 UTC
closed 06:17AM - 22 May 18 UTC
bug
enhancement
I'm having trouble validating file types using the File Type Validation plugin
…
Here's my jQuery:
```js
$('.filepond').filepond({
server: './',
acceptedFileTypes: [
'application/doc',
'application/pdf',
'application/rtf',
'application/txt',
'application/odf',
'.docx',
'application/pages'
]
});
```
PDF's are passing the validation, but nothing else is. I've tried removing the "application/" text and using an extension with a dot (.doc) too, but with no luck.
Also, check out the attached screenshot. Is there anyway to style this so the file types subtitle doesn't push everything out of view?
<img width="804" alt="filepond-validation-error" src="https://user-images.githubusercontent.com/18754703/40141788-23f8454c-5914-11e8-9bdf-ad03f1d23d18.png">
I have fixed this in the Bricksforge core and deploy the new version next week
Thanks very much for reporting!