I have a form built that currently sends info to a DB and allows me to email the person right after submission. Unfortunately, it only refreshes and clears the values of the page, I would like it to take them to a thank you page. The <form action=""
is being used to POST it's data, is there a way I can post said data while still linking to a new page?
Code split up for readability
<form id="hsForm_99a6d115-5e68-4355-a7d0-529207feb0b3_8417" class="hs-form
stacked hs-custom-form" accept-charset="UTF-8"
action="https://forms.hubspot.com/uploads/form/v2/341117/99a6d115-5e68-4355-a7d0-529207feb0b3"
enctype="multipart/form-data" method="POST" novalidate="novalidate">
<!-- Some form stuff...-->
<div class="form-actions form-wrapper" id="edit-actions">
<div class="hs_submit">
<div class="hs-field-desc" style="display: none;"></div>
<div class="actions"><input class="hs-button primary large" type="submit" value="Submit"></div>
</div>
</div>
</form>