I have a form with a bunch of user input. one of the fields is a file upload.
The problem I have is there is validation on fields and if a user uploads a file and then one of the other fields don't pass the validation I am not sure how I can get that file to pre-populate.
For example I would like to do something like this:
<input type="file" name="file" value="<? echo $file; ?>">
Is there a way I can save this information so they don't have to press the browse button again?