title: form file input get cleared when refresh
body: <p>I have a html form with some text input and a file input (image logo).</p>
  
  <p>Now, if there is an error with one of the text inputs (like length is invalid) when the user click the submit button [client->server(php)->client], the content of the file input is cleared which is annoying!</p>
  
  <p>I set others text input with last values when the page submits with an error, but I cant with a file input. I tried to set the file input value with <code>document.getElementsByName('logo')[0].value;</code> to set it in a hidden value but I got the path "C:\fakepath\random-0690.JPG"... this is so shocking, I know its for security purposes but it is shocking...</p>
  
  <p>How i can resolve that? Thanks.</p>