I just wrote a react hook to deal with Netlify forms using NextJS. It solves the problem about requiring a success page, and it works asynchronous. The idea is having a hidden form which its inputs are filled before submission. A target dummy iframe is the target of this form, so redirection is not needed.
Hi! Thanks for your blog post, it was very useful
I just wrote a react hook to deal with Netlify forms using NextJS. It solves the problem about requiring a success page, and it works asynchronous. The idea is having a hidden form which its inputs are filled before submission. A target dummy iframe is the target of this form, so redirection is not needed.