I’ve taken a look at about >20 blog posts, community forum questions, and more, and I’m still having trouble getting Netlify to recognize my form for the Gatsby site I’m working on. I made sure that I’m avoiding the common culprits, which include:
- Not having a
name
assigned to theform
element in the openingform
tag - Not assigning a
name
to everyinput
in the form - Not including a hidden
form-name
input as follows:
<input type="hidden" name="form-name" value="myformname" />
Still, my form is not being picked up by Netlify and it is not appearing in https://app.netlify.com/sites/{sitename}/forms
. Looking at the following, is there anything that you can see that I am missing?
<form
name="emailcontact"
method="POST"
data-netlify="true"
netlify-honeypot="bot-field"
onSubmit={handleSubmit(markAsSubmitted)}
>
<input type="hidden" name="form-name" value="emailcontact" />
<input type="hidden" name="bot-field" />
<label htmlFor="name">
<input
type="text"
name="fullname"
id="name"
/>
</label>
<label htmlFor="email">
<input
type="email"
name="email"
id="email"
/>
</label>
<input type="reset" name="reset" value="Clear" />
<button type="submit" name="submitButton">
Send
</button>
</form>
Any insight would be very appreciated.