joriszwart.nl

Low effort/risk/impact anti-spam?

Using the form-attribute, placing elements outside the form.

<form id="contact"></form>

<input name="email" form="contact">
<input name="message" form="contact">
<button form="contact">Send</button>

Doesn’t work against JavaScript enabled or smarter bots.