'HTML Form Upon Submission Opens New Tab, Prefer If It Just Redirected On Current Tab

I've inserted the following form code block into my Squarespace website via GetForm -- but, once the form is submitted, a new tab is opened that redirects to the GetForm 'Thank You' page. Instead of opening another tab, I'd like it to redirect on the current tab to the 'Thank You' page -- or, if possible, simply just have the form itself display a 'Thank you, your submission has been received' with no redirect happening at all. Additionally, once the form is submitted, the information that is input into the form remains, is it possible to have the form 'reset' or clear the inputted information after submission?

I'm a complete novice when it comes to anything coding-related and have pieced together the form's code from various Google Searches as well as the GetForm site -- any help is greatly appreciated, thank you!

<div class="form-container">
  <div class="title">Apply Now!</div>
  <form accept-charset="UTF-8" action="https://getform.io/f/061fe877-cd4b-4e98-9f70-f5fb2eeb3716" method="POST" target="_blank" enctype="multipart/form-data">
      
    <div class='form-field'><label class='form-label'>Full Name:</label>
      <div class="form-input-container">
        <input class="form-input" type="text" name="full_name" required>
      </div>
    </div>
    <div class='form-field'><label class='form-label'>Email Address:</label>
      <div class="form-input-container">
        <input class="form-input" type="email" name="email" required>
      </div>
    </div>
    <div class='form-field'><label class='form-label'>Upload Resume & Cover Letter:</label>
      <div class="form-input-container">
        <input class="form-input" type="file" name="file" required>
      </div>
    </div>
    <button class="form-button" type="submit">SUBMIT</button>
  </form>
</div>

<style>
  .form-container {
    border-radius: 5px;
    background-color: #005019;
    padding: 20px;
    width: 95%;
  }

  .title {
    font-family: "Celias", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: .05em;
    padding-bottom: 1em;
  }

  .form-label {
    font-family: "Celias", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.42857143;
    color: #FFFFFF;
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .form-input {
    box-sizing: border-box;
    font: inherit;
    font-family: "Celias", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    font-size: 15px;
    color: #2c3e50;
    background-color: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 4px;
    border-width: 2px;
  }

  .form-button {
    border: none;
    font-size: 16px;
    margin-top: 15px;
    font-weight: 800;
    line-height: 1.5;
    border-radius: 3px;
    padding: 16px;
    background-color: #7BBF42;
    color: #FFFFFF;
    width: 100%;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
  }
</style>


Solution 1:[1]

I think the issue is caused by after posting the data to the getform site, there is no redirect page. I think you need to find out how to do the redirect after the form is submitted.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bismark Asiedu Asante