|
-
Jul 12th, 2005, 06:02 AM
#1
file input
Is it possible to set the value of an input element of type "file"? Like say I wanted to default it to "c:\test.txt". Can I (or anyone else for that matter) do that somehow?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 12th, 2005, 06:50 AM
#2
Frenzied Member
Re: file input
I don't think you can do that as it's a bit of a security issue. For example I could set the default value to a file and then hide the file input box so the user doesn't know they are submitting a file when they post the form.
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Jul 12th, 2005, 06:52 AM
#3
Re: file input
I guess you have a point there. Damn.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|