There's very little you can do to affect the value of a file input, for reasons of security. If file inputs worked like normal ones, unscrupulous people could do things like this:
I tend to agree with audiopro.
You "Browse" for the file first, and then you "Upload" it. So you could have a second button that says "Upload" that only becomes available when a file has been chosen, and submits the form so the file can be uploaded.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
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.