Skip to content

fix: align forms with netlify spam docs - #131

Merged
rnegron merged 1 commit into
mainfrom
fix/netlify-form-spam
Sep 15, 2026
Merged

rnegron merged 1 commit into
mainfrom
fix/netlify-form-spam

Conversation

@rnegron

@rnegron rnegron commented Sep 15, 2026

Copy link
Copy Markdown
Member
  • Use Netlify's documented netlify-honeypot form attribute (was data-netlify-honeypot) on the feedback and speaker submission forms, and give the honeypot input type="text" to match the docs.
  • Make the feedback form's subject and message required, so empty submissions are no longer accepted.
  • Send Content-Type: application/x-www-form-urlencoded with a string body on the speaker submission fetch, as Netlify's AJAX example does.

Verified in the built HTML: the attributes are rendered on both forms, and lint and build pass.

Not included: reCAPTCHA. The honeypot only catches bots that fill out the rendered form; bots posting directly to Netlify can omit bot-field. If spam continues after this, custom reCAPTCHA 2 (SITE_RECAPTCHA_KEY / SITE_RECAPTCHA_SECRET) is the next step.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rnegron
rnegron requested a review from eluciano11 as a code owner September 15, 2026 22:08
@github-actions

Copy link
Copy Markdown

¡Gracias por tu interés en Fullstack Nights y por hacer este Pull Request! Pronto estaremos en contacto. / Thanks for your interest in Fullstack Nights and for opening this pull request! We'll be in touch soon.

@rnegron
rnegron merged commit b2870ad into main Sep 15, 2026
5 of 6 checks passed
@rnegron
rnegron deleted the fix/netlify-form-spam branch September 15, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant