I have a simple php file upload form, something like this:
<form action="upload_file.php" method="post" onsubmit="return validateForm()" enctype="multipart/form-data">
<label for="file">Files:</label>
<input type="file" name="file[]" id="file"><button type="button">Remove File</button>
<input type="file" name="file[]" id="file"><button type="button">Remove File</button>
<input type="submit" name="submit" value="Submit">
</form>
and I would like to add a function the Remove File button in order to unselect the selected file. Is that possible ?
Thanks for the help.