Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.1k views
in Plugins by
edited by

How can I allow certain file types to be uploaded in the Extra Question Field plugin?

Also I want to show the user an error which says " Only X, Y, and Z file types are allowed." (in red color) when the user wants to upload a file type other than what I mean.

Edit:
I mean by file types this file extensions: tex, bbl, doc, jpg, pdf, png, txt, zip, ftx, log, bst, bib, cls, sty.

Q2A version: 1.6.3
by
What is "certain file types"? Explain more in detail.
And, What is your "Permit only images (jpeg,png,gif)" option of EQF plugin?
by
@sama55: Thanks for your comment. I updated my question.
by
I re-tested with *.doc file. *.doc file was uploaded correctly.
Confirm "Permit only images (jpeg,png,gif)" option on your plugin panel.
by
Currently my users can upload each file extensions but I want only this extensions: tex, bbl, doc, jpg, pdf, png, txt, zip, ftx, log, bst, bib, cls, sty.
Could you please help me?
by
You may be able to realize by customizing qa-eqf-filter.php. This is customization request that relate only to you. If you can not customize, ask technical support of ASKIVE.

Please log in or register to answer this question.

...