Download & Extend

How to assign the default value to filefield

Project:FileField
Version:6.x-3.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I create custom form including the filefield field, and I want to set the default value to filefield.
But I can not get the success result.
Is that possible? (And I can not load the form from node, since the form is not a node form)

Comments

#1

I'm having the same problem. using filefield with an image allows for defaults to be set but file with file upload does not. Did you ever figure out this issue or a usable workaround?

#2

Priority:critical» normal
Status:active» closed (won't fix)

FileField does not have the ability to set a default file. This changed in Drupal 7, but it's unlikely that the D6 version will receive this feature.