herando Posted June 15, 2006 Share Posted June 15, 2006 How to set initial value of file form field. If I set <input type="file" name="file" value="something" /> , the value doesn't appear on screen. Quote Link to comment Share on other sites More sharing options...
nogray Posted June 15, 2006 Share Posted June 15, 2006 You cannot set the value of the file input field, security risk. If possible, spammers will be able to steel your files just by visiting the site. Quote Link to comment Share on other sites More sharing options...
bobleny Posted June 15, 2006 Share Posted June 15, 2006 Yeah, there is no field type of “file” that I know of. Umm, what exactly are you trying to do? Maybe there’s and alternative... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.