Hi everyone, I have an issue with my NextJs App. I configured my contact form and it’s been detected on Netlify site settings as well but not able to see any of my submissions.
I have my Nextjs app running here at https://flowdx-v2.netlify.app
This is what I have tried so far,
I have an endpoint @‘api/contact’(this uses nodemailer pkg that sends the mail to my gmail, working perfectly on my local machine).
I have created a static contact.html page inside the public folder, and Netlify is showing that in the build. Under the forms section of the site overview, it shows that the contact form is detected.
I am using Formik to build my form component. This form has been given the same name as the static HTML name. ie. contact. All the input controls have name attributes that are exactly matching with the static HTML field names.
If it is just an SSR issue, I tried support guides, but I am unable to understand some suggestions like pointing my end-point to some static source.?
Yes, if you wish to use Netlify Forms, you don’t need that at all. If you wish to use the custom functionality of your API handler, you can’t use Netlify Forms*.It’s an either-or situation.
* You can, but it would take slightly more efforts and is not worth it in my opinion.
so if it is either Netlify or no solution, I would like to go with Netlify’s forms only. Can you guide me on how to achieve this with the current setup of using Formik forms and the handle submit method?