Hi All,
I’m deploying a Next.js site to Netlify paired with the @netlify/plugin-nextjs
plugin v 4.28.4
, and I’m trying to implement a sample Netlify forms based on the documentation. The build is successful, however Netlify doesnt seem to be getting picked up the form during the deployments.
Code:
<form
name="contact"
method="POST"
data-netlify="true"
netlify-honeypot="bot-field"
>
<input type="hidden" name="form-name" value="contact" />
<p>
<label>
Name <input type="text" name="name" />
</label>
</p>
<p>
<label>
Email <input type="email" name="email" />
</label>
</p>
<p>
<button type="submit">Send</button>
</p>
</form>
Site name: Contact | Vanessa Victoria Wedding & Events
Am I incorrectly configuring something in the HTML markup? I’ve used identical code in a Gatsby site, which worked successfully, Is this Next.js specific? The site is running in SSR mode.
Any help is appreciated.
Thanks in advance!