I’d like to know how I can block form submissions using public emails and only let through submissions that use a work email. I’ve copied some code of this article however I’ve just seen a form submission go through despite using a gmail.com email.
The concerned page is a Collection page that serves as a template for all of our company’s whitepapers. I’ve implemented the code suggested by the article in the page before the /body tag.
If not possible to filter public emails, I’ll probably just switch to an embedded Hubspot form and rely on Hubspot’s blocking list. However, I did enjoy the idea of being able to add and remove domains manually to the blocking list, something that Hubspot unfortunately doesn’t allow.
Can someone please let me know what is wrong, and how I could fix this ? Read-only link