Easily build and embed forms on your site. Try HubSpot Forms for free.  

Block form submissions from specific email domains

Last updated: July 17, 2018

Applies to:

Marketing Hub Basic, Professional, Enterprise

Follow the steps below to prevent users from submitting your form with email addresses at certain domains.

  • In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
  • Click the name of your form.
  • In the form editor, hover over the email field and click Edit edit.
  • Enter the domains you want to block in the Email domains to block field, separated by commas. 
    • Enter: "gmail.com" or "gmail.com, hotmail.com"
    • Do not enter: "www.gmail.com" or "@gmail.com"
  • You can also select the Block free email providers checkbox to block HubSpot's default list of free domains.
Email domains to block
  • Click Publish to take your changes live.

When visitors attempt to enter a blocked domain in the Email field, they will see a message asking them to enter a business email address. 

New Call-to-action

Was this article helpful?

If you still need help you can get answers from the , or to contact support.