I’ve read the form documentation and troubleshooting posts. My form results are being submitted successfully, but the action afterwards is leading to a 404 (This site can’t be reached). I am using Netlify’s unmodified HTML form example. So, it should show their default thank-you
page – it does not. If I try setting uo <form action="/thanks" …>
or <form action="/thanks/" …> to my own /thanks
or /thanks/
page, it still leads to a 404. I assure you the page exists when visiting the page directly – https://mysite.com/thanks/
Code being used:
<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>