Set default value for a input file form [duplicate]

From HTMLHelp.com :

The file input type creates a field
through which users can upload files
from their local computer or network.
The VALUE attribute specifies the name
of the initial file, but it is
typically ignored by browsers as a
security precaution.

Therefore, setting an initial value is not supported.

Leave a Comment