Home
Support Forums

Forms - Thank you page

Is there a way to redirect a form submission to a thank you page? (thanks.html) vs the modal. I want to install a google ads goal script to track conversions.

Hi @leads4life,

You need to use the action attribute:

Thank you. I have always struggled with forms. Here is an example of Netlifys form. I would greatly appreciate it if you can show me how to do this in this post. Thanks in advance. Example:

<form name="contact" method="POST" data-netlify="true">
  <p>
    <label>Your Name: <input type="text" name="name" /></label>   
  </p>
  <p>
    <label>Your Email: <input type="email" name="email" /></label>
  </p>
  <p>
    <label>Your Role: <select name="role[]" multiple>
      <option value="leader">Leader</option>
      <option value="follower">Follower</option>
    </select></label>
  </p>
  <p>
    <label>Message: <textarea name="message"></textarea></label>
  </p>
  <p>
    <button type="submit">Send</button>
  </p>
</form>

You simply need to make it this way: <form name="contact" method="POST" data-netlify="true" action="/thanks.html">

Thank you for your kind & excellent support.