you can't do this because it's a security hole because you might specify a file from the operating system then automatically submit the form and you could get any file you want from the client's computer.
--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
...but it will reset all your form elements. If the file text box is the only one, then there's no problem!
If there are other elements, you could put them in another form so they are unaffected by the 'Reset', but you will have to grab their values and stick them in hidden INPUTs in the first form before submitting (if you want to pass their values).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.