I’ve been using Netlify forms for a while without any issues, but today I realized forms didn’t go through if some inputs were left empty.
On the client side everything would go as expected, redirecting to the success page after submission. The Netlify dashboard would show “Last submission a few seconds ago” but not the actual data and I wouldn’t get an email.
I started debugging while writing this post and… well now it’s working. Whether I fill only one or all inputs, the data goes though. This is almost worst though; sometimes it works but sometimes it doesn’t? Worst kind of bugs!
I checked netlifystatus.com and it seems like everything has been all good all day. But… yeah, I guess this is a bug report now.
My form looks like this, not that I think it matters much.
<form name="contact" netlify netlify-honeypot="money"> <p> <label for="name">Name </label> <input type="text" name="name" id="name" /> </p> <p> <label for="email">Email </label> <input type="email" name="email" id="email" /> </p> <p> <label for="message">Message </label> <textarea type="textarea" name="message" id="message"></textarea> </p> <p style="display: none;"> <label for="money">Name </label> <input type="text" name="money" id="money" /> </p> <p> <button type="submit">Send</button> </p> </form>
Thanks for looking into it if you can!