I have a form with <input type="file">
. I was doing a couple of tests, I found out that on Chrome when someone chooses a file and decides to change the file they had chosen already, and press the cancel button the file path of the previous file disappears or sometimes when you open a new tab while on the form.
How can this problem be solved?
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form>
<input type="file" name="">
</form>
</body>
</html>