how I can delete value from FormData object with same name? I have HTML form with two input files.
You can delete the entire file list by setting the value property of the input object to an empty string.
document.getElementById('human').value = "";
If you are using FormData, you can also have
ForEach(var key in formData.keys()){
formData.delete(key);
}
This will iterate through all keys in formData and delete all the key value pairs.