Allow any type of file to be uploaded

gwndilshan 12 Feb, 2015
Hi,

We have setup a form with CF V5 and it has a file upload field. The client is insisting that the users should be able to upload files with any type of extension.

Could you please guide me on how to achieve this? I guess that we have to edit the component's code for this.


Many thanks
Dilshan
GreyHead 12 Feb, 2015
1 Likes
Hi Dilshan,

You will have to hack the code. This is deliberately not supported because allowing the upload of some kinds of file is a major security risk, Please see here for more info.

Bob
gwndilshan 12 Feb, 2015
Hi Bob,

Thank you very much for the reply. I was able to comment out an else if section and get this working.

Restricting file types is the most right thing to do, but with the clients there is no hope.😟

Many thanks again, your Chronoforms component is by far the best Joomla component I have come across.

Dilshan
This topic is locked and no more replies can be posted.