tijs on 07 Sep, 2011 09:15 PM
Hmm, good request, but I think we should this one trough. If we
introduce a file-field we need multiple validators (filetype,
dimensions, ...) And the validators should be dynamic so you could
enter the allowed types.
dieter on 08 Sep, 2011 06:28 AM
We excluded the filefield because of the potential dangers it
includes. Every form created is publicly visible, which directly
means that everybody can start uploading files to your
server/website. Even with all the needed validation (filesize,
extension, mimetype), a user could still upload a large number of
files. This might cause your diskspace and bandwidth limits to be
exceeded. A person with understanding of the possible dangers could
tighten the validation so the risk is minimal. But we have to take
in account that Fork its target audience is not only the power
users but also the users who have a more limited understanding of
We are working on a way that allows you create pages which are
protected by a login. After that we will revise the fileupload
tijs on 06 Oct, 2011 08:22 PM
Jeroen, what I mean by dimensions, is when I add a field for
images in the form, I want to be able to set the minimal and
Another issue (mentioned by Dieter) is that someone can upload many
large files to your server through this form.
The mimetype for word is: application/msword (don't know if
.docx uses them also), pdf uses: application/pdf
I don't think you should wrap the link with an a-tag in the
database-entry. If they open the CSV in Excel/Numbers it will be
converted into a link.
At this moment there isn't a hook on deleting items. Don't know
if this should use an hook.