Search in support tickets

#721 – Field of type file: allowed extension

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 23 February 2020 10:47 CET
pat01
Hello

I use field of type file for uploading documents.

How can I limit allowed extentions?

I want to allow PDF, XLSX and DOCX only.

In settings of field (field manager) I don't see a possibility to limit allowed file types.

Thanks.

Best regards
Custom Fields
Joomla Version
3.9.15
PHP Version
7.2
Product
AdsManager
Product Version
latest
Monday, 24 February 2020 13:27 CET
loic
Hello,

The file typefield allow every extension and rename the php one to txt.

If you want to choose the allowed extension, you can use the fileupload typefield.

Best regards.
 
Monday, 24 February 2020 13:46 CET
pat01
Hello

OK, great! Sorry, I did not notice there are two fields of type upload.

Thanks.

Best regards
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.