I don't even know if this is possible or not but is there a method you can take the value of the selected file in a input file field to a input text field?
Like this:
See Question&Answers more detail:osI don't even know if this is possible or not but is there a method you can take the value of the selected file in a input file field to a input text field?
Like this:
See Question&Answers more detail:osHook on the change
event of the file field.
<form method="post" enctype="multipart/form-data">
<input type="file" onchange="this.form.filename.value = this.value">
<input type="text" name="filename">
</form>
Jsfiddle demo. Note that IE6/7 incorrectly gives the full path while other browsers correctly gives only the filename.