This is a form that consists of two labels:
<form method="POST" action='/process' enctype="multipart/form-data">
<div>
<label for="file" class="upload-button"><i class="far fa-file-image"></i></label>
<label for="file" class="upload-button"><i class="fas fa-angry"></i></label>
<input type="file" id="file" name="file" accept=".jpg, .jpeg, .png" style="display: none; visibility: none;" onchange="$('form').submit();">
</div>
</form>
If the first label is clicked, I want the input to stay as it is. However, if the second label is clicked, I would like to add a 'capture="user"' attribute. Is there a simple way to achieve this?