No verified submissions or spam from form

I’ve followed the documentation and also the troubleshooting guides but cannot get the form to work. Here’s what I’m doing in gatsby:

<form 
   className="contact-form"
   name="Contact"
   name="contact"
   method="POST"
   action="https://getform.io/f/7f3a51aa-80b3-41f6-bea8-588b9d5f03da"
   data-netlify="true"
   netlify-honeypot="bot-field"
  >
                <input type="hidden" name="bot-field" />
                 <input type="hidden" name="contact" value="contact" />
                <label>
                  Name*
                  <input type="text" id="name" name="name" />
                </label>
                <label>
                  Email*
                <input type="email" id="email" name="email" />
                </label>
                <label>
                  Message*
                  <textarea id="message" name="message" />
                </label>
                <button type="submit" className="button button--primary">Submit</button>
              </form>

For some reason, you’ve added the name attribute twice.

Also, the action attribute is pointing somewhere else. Point it to # or something. That should work.

1 Like