I can’t get my forms to connect/be automatically detected on my Netlify app. I was able to before I updated to Next 14+. Not sure what could be causing the issue since the code I have seems to match directly to the code that previously worked. See Hero.js or giveaway/maikoh-1.js for examples that don’t work.
Just went through and tried every solution in that post and there is nothing that works. Not sure why updating Next.Js 13->14 would have this effect. Here is my code before (worked before updating). See my git for current code.
Which is the default Netlify success page, and I’m sure you’ll find my submission in your dashboard.
The crux of it is that you must post to a route which is a static file.
You can obviously still end up on your /success route, but you would probably want to do that by submitting your form with ajax to the static route, then redirecting upon success to your actual success route.
For anyone encountering this thread that doesn’t understand from the explanation given above, Netlify have released some additional resources which demonstrate: