This is for select-file by user. But I want to render the default selected file on page load.
<input type="file" id="file-upload" accept="application/pdf" value="Upload/<?php echo $_GET['id9']; ?>" />
This is for select-file by user. But I want to render the default selected file on page load.
<input type="file" id="file-upload" accept="application/pdf" value="Upload/<?php echo $_GET['id9']; ?>" />
I don't think it is possible to set a default value for a input file :(
More info here: How to set a value to a file input in HTML?