The form is detected, and I’m submitting through an Ajax request, I also get a 200 response code, which is supposed to mean that the form has been submitted, but nothing reaches the dashboard. I tried submitting the form to a different page that I created, and I also get the same 200 response code but also nothing on the dashboard.
Hi @unknown.6003, thanks for the post and welcome to the Netlify Support Forums.
Kindly check out the blog post below on how to properly set up Netlify Forms with Sveltekit.
I have followed this guide but due to specific features my form cannot be pre-rendered. Hence, I followed the js rendered guide using a hidden html form, and I use Ajax to submit the request.
Submitting the form through html does work, but using Ajax gives a 200 code without the results being recorded, which defeats the point since it’s a hidden form.
I have tried this solution but nothing has changed. Setting the endpoint to a page that already exists (/form) returns a 404 error, despite the page existing and reachable by typing the same link in the browser.
I have not set up any redirect rules manually, but I’m not sure how to check if they’re any set automatically by svelte kit. How may I check for these and disable them?