It is possible to add remove button in or beside file field element?
If visitor add wrong file, he won't be able to remove it...
If visitor add wrong file, he won't be able to remove it...
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>That's it.
<button id="clear1" onclick="return false">Remove</button>
<script type="text/javascript">
var control_1 = $("#file_1");
$("#clear1").on("click", function() {
control_1.val("");
});
</script>