spent hours searching the net, but it seems like he is looking for one thing and find another, or what I want, I just can’t do. I do not want to rewrite the style <input type="file">. I want to create a custom button that displays a browse window, allows the user to select a file of certain types, fills a separate text field with the file name and saves the rest of the information that can be transmitted when loading the PHP script after the user has completed the rest of the form. So, in other words, I want to reinvent it <input type="file">.
source
share