Not sure sure where feature requests should go for Forms?
Would be good if could add a regular expression for the File Upload field type. This would help to prevent users from submitting harmful files. For example, I have a form where I'd like users to submit only docs or pdfs. From what I can see this isn't currently possible?
Forms - Feature Request for File Upload
Hi,
Not sure sure where feature requests should go for Forms?
Would be good if could add a regular expression for the File Upload field type. This would help to prevent users from submitting harmful files. For example, I have a form where I'd like users to submit only docs or pdfs. From what I can see this isn't currently possible?
I think its in umbracosettings see
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd</disallowedUploadFiles>
Could use that but you could end up making it too restrictive?
Regards
Ismail
Thanks, Ishmail. I suppose that'd work. Can't see anybody wanting to upload any of the above. Its for a CV uploader.
Ben,
Have a bit of play with it just make sure nothing un expected is not introduced.
Regards
Ismail
is working on a reply...