Forum Moderators: open

Message Too Old, No Replies

input type="file" - can't code value?

         

txbakers

2:41 am on May 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When I include a <input type="file" name="thefile"> the screen displays the input type box and the Browser button.

I'd like to "hard code" the file to be uploaded, but that tag doesn't allow the "value=" attribute.

Is there a way to force this issue? I tried with a hidden input as well, but it doesn't take it with any of the upload components (Dimac, aspUpload, etc.)

DrDoc

2:53 am on May 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't believe there is a way around that, for obvious security reasons.