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

Block form or lead flow submissions from specific email domains

Last updated: November 1, 2018

Applies to:

Marketing Hub
marketing-starter-basic-pro-enterprise
Starter, Basic, Professional, Enterprise

If you have a Marketing Hub Starter, Basic, Professional, or Enterprise accounts, you can prevent visitors with email addresses at certain domains from submitting your HubSpot form or lead flow.

Block email domains on a form

  • In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
  • Click the name of a 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 only the root domain without the www prefix or @ symbol (e.g., enter gmail.com , not www.gmail.com or @gmail.com).
  • (Optional) 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 a visitor attempts to enter a blocked domain in the Email field on your form, they will see a message asking them to enter a business email address.

 

Block email domains on a lead flow

  • In your HubSpot account, navigate to Marketing > Lead Capture > Lead Flows.
  • Click the name of a lead flow.
  • Click the Form tab.
  • In the left sidebar, click the pencil icon edit on the right of the Email field.

  • Enter the domains you want to block in the Email domains to block field, separated by commas. Enter only the root domain without the www prefix or @ symbol (e.g., enter gmail.com , not www.gmail.com or @gmail.com).
  • (Optional) Select the Block free email providers checkbox to block HubSpot's default list of free domains.

When a visitor attempts to enter a blocked domain in the Email field on your lead flow, 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.