@netli The route that the form is posted to must be a static file route, not a route handled by Next.js.
The easiest way to do this is to:
- Have a static html version of the form so it gets detected easily by Netlify
- Post your form with ajax, to the same url as that static html form
- Handle the success message / redirect after submission
See this new information Netlify created to try and explain it:
1 Like