epicweb-dev / web-forms

Learn the primary mechanism for interactivity on the web.
https://www.epicweb.dev/workshops/professional-web-forms
Other
199 stars 61 forks source link

Fix honeypot check condition in the Honeypot section #12

Closed kyle-trinh closed 1 year ago

kyle-trinh commented 1 year ago

I believe that in the action function, we need to throw an error if the honeypot field (name in this case) has values. Please let me know if I didn't understand it correctly 🙏