Skip to content

Instantly share code, notes, and snippets.

@wittyprogramming
Created October 29, 2020 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wittyprogramming/cb65b7f93e7e85fa4767abd1c02ff020 to your computer and use it in GitHub Desktop.
Save wittyprogramming/cb65b7f93e7e85fa4767abd1c02ff020 to your computer and use it in GitHub Desktop.
HTML only code for Netlify using honeypot and recaptcha
<form name="contact" method="POST" data-netlify="true" netlify-honeypot="bot-field" data-netlify-recaptcha="true">
<p hidden>
<label>ignore: <input name="bot-field" /></label>
</p>
<p>
<label>Full Name: <input required type="text" name="name" /></label>
</p>
<p>
<label>Email: <input required type="email" name="email" /></label>
</p>
<p>
<label>Message: <textarea required name="message"></textarea></label>
</p>
<div data-netlify-recaptcha="true"></div>
<p>
<button type="submit">Send</button>
</p>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment