I'm developing a website and i have a download link that redirects to another page of a form generated by a plugin in word press, i want the download begin after the user presses submit how can I do that using html or java script?? this is my download link i only want to do it for the A4 size for now so i either want to know how to make the image download when pressing submit on the form or how i can delay the download of the picture by a few minutes until the user has finished the form
<div class="dropdown">
<div class="d-flex align-items-end">
<button class="btn btn-outline-primary dropbtn pull-
right">Download</button>
</div>
<div class="dropdown-content">
<a href="#">A0</a>
<a href="#">A1</a>
<a href="#">A2</a>
<a href="#">A3</a>
<a download href="#">A4</a>
</div>
</div>