Is there any way to change form parameters when user trying to submit the specified form?
Suppose that I have the following form:
<form id="myform" method="port" action="/form.php">
  <input type="file" name="image1">
  <input type="submit">
</form>
So when the user clicks a submit button it makes a POST request to the /form.php that contains image1 parameter. I want to change this parameter to completely different base64-encoded image programmatically.
Is it possible?
 
     
    