Hi i’m using the following code:
<form name="comments-queue" action="/thanks" method="POST" netlify-honeypot="full-name" data-netlify="true" >
<p class="honey">
<input name="path" type="hidden" value="{{ page.url }}">
<label>Your full name: <input name="full-name"></label>
</p>
<p>
<label for="name">Your name<small>What should I call you?</small></label>
<input type="text" name="name" id="name">
</p>
<p>
<label for="email">Your email<small>I'll only spam if you check below checkbox!</small></label>
<input type="email" name="email" id="email">
</p>
<p>
<label for="newsletter">Do you want to receive my newsletter?
<input type="checkbox" name="newsletter" id="newsletter">
</label>
</p>
<p>
<label for="comment">Your comment<small>Markdown is fine.</small></label>
<textarea name="comment" id="comment"></textarea>
</p>
<p>
<button type="submit" class="btn">Submit comment</button>
</p>
</form>
This actually submits the form, but it redirects to the 404 with URL saying “/thanks” if i then manual refresh the URL it will actually load the page.
My guess it’s more on 11ty side, but does anyone have any experience with this?