Hi I am trying to get Netlify Forms working on a Gatsby/React Site, and Redirect to a custom thank you page. Pretty simple stuff, but I am not receiving any form submissions in the Netlify dashboard or the email I added to notify me of form submissions.
Here is my component:
const SimpleNetlifyForm = () => {
return (
<Form
name="contact"
method="POST"
data-netlify="true"
netlify-honeypot="bot-field"
action="https://aquasar-starter-blog.netlify.com/thank-you/"
>
<Field className="hidden">
<Label className="hidden">
Hidden Honey Bot Spam Field: <input name="bot-field" />
</Label>
</Field>
<Field>
<Label>
Your Name:
<input
placeholder="What is your given name"
type="text"
name="name"
required
/>
</Label>
</Field>
<Field>
<Label>
Your Email:
<input
placeholder="What is your email"
type="email"
name="email"
required
/>
</Label>
</Field>
<Field>
<Label>
Message:
<textarea
placeholder="Please enter a brief message"
name="message"
required
minLength="10"
maxLength="1000"
></textarea>
</Label>
</Field>
<Field>
<Button type="submit">Send</Button>
</Field>
</Form>
);
};
export default SimpleNetlifyForm;
It redirects to thank you page, but I don’t see anything in the dashboard…
Thoughts ?