• Digital Boom
  • About Us
  • Team
  • Partners
  • Submit an Article
  • Contact Us
  • Privacy Policy
  • Terms of Use
Friday, December 12, 2025
  • Login
Digital Boom
  • Home
  • News
  • Startups
  • Marketing
    • Digital Advertising
    • Insights
    • Social Media
  • Campaigns
  • Tech
  • Guides
  • More
    • Market Watch
    • Careers
    • Ramadan Specials
    • Culture
    • Travel
    • Glossary
    • Apple Updates
    • Facebook Marketing Hub
    • Markets
No Result
View All Result
  • Home
  • News
  • Startups
  • Marketing
    • Digital Advertising
    • Insights
    • Social Media
  • Campaigns
  • Tech
  • Guides
  • More
    • Market Watch
    • Careers
    • Ramadan Specials
    • Culture
    • Travel
    • Glossary
    • Apple Updates
    • Facebook Marketing Hub
    • Markets
No Result
View All Result
Digital Boom
No Result
View All Result

Reject non-business emails from Webflow form submission

Ahmed Maher by Ahmed Maher
June 27, 2022 - Updated on May 16, 2025
in Guides
Reading Time: 2 mins read
Reject non-business emails from Webflow form submission
26
VIEWS
Share on FacebookShare on Twitter

Lead generation forms are essential for B2B companies to get in touch with potential customers. Yet, they sometimes may put more burdens on sales teams because of the irrelevant users.

B2B companies must filter users from the beginning; the easiest way is to obtain their corporate email. Not all of us tend to use our corporate emails in filling out online forms, it’s a habit, and no one can change it, yet, you can force change that behavior by rejecting personal emails from passing your forms.

The problem is that web forms are built to accept all domains, and making that restriction to business emails is an advanced step that requires extra technical work.

Today, we will explain how to customize your Webflow website to reject personal emails and allow only users with corporate emails to submit your forms.

How to reject personal emails from submitting your Webflow forms?

To prevent personal emails from reaching your CRM, copy/paste the following code after the body tags on your page that contains the contact form.

We’ve added the most common free email services to reject them. If you would like to add more domains, all you need to do is edit this rule (?!gmail.com)add your desired domain and then add it after +@ In line 5. This will ensure that anyone with @domain will not be able to submit your form.

<script type="text/javascript"> $(document).ready(function(e) { $('#submit-home').click(function() { var email = $('#Email').val(); var reg = /^([\w-\.]+@(?!gmail.com)(?!mail.com)(?!gmil.com)(?!gamil.com)(?!gamail.com)(?!yahoo.com)(?!hotmail.com)(?!yahoo.co.in)(?!gmail.con)(?!aol.com)(?!abc.com)(?!xyz.com)(?!pqr.com)(?!rediffmail.com)(?!live.com)(?!outlook.com)(?!me.com)(?!msn.com)(?!ymail.com)([\w-]+\.)+[\w-]{2,4})?$/; if (reg.test(email)) { return 0; } else { alert('Por favor ingresa tu dirección de correo empresarial'); return false; } }); }); </script>

Reach out to me at maher@adigitalboom.com if you need any extra help.

Tags: Webflow

Join Our Community

Ahmed Maher

Ahmed Maher

Ahmed Maher is a marketing and growth leader with a proven track record across telecom, fintech, publishing, charity, government, e-commerce, and sports. He launched Vodafone Egypt’s digital and social media presence in 2008, setting new standards for brand engagement and performance marketing in the region. As the founder of Digital Boom, Ahmed has helped shape the voice of digital media in the Arab world. He brings a rare blend of creative vision and data-driven thinking, using digital tools and storytelling to drive measurable impact and scalable growth.

Related Stories

What is Facebook Marketplace? Inside Meta’s Global Buy-and-Sell Platform

What is Facebook Marketplace? Inside Meta’s Global Buy-and-Sell Platform

September 28, 2025 - Updated on October 10, 2025
179
Google Algorithm Updates: Complete History & Live Tracker

Google Algorithm Updates: Complete History & Live Tracker

September 27, 2025
137
How to deactivate or delete your Snapchat account?

Delete Snapchat Account (Step-by-Step 2025)

June 25, 2025 - Updated on July 5, 2025
417

Delete TikTok Account Permanently (2025 Guide)

Recover Your Hacked Facebook Account

Enable Copy and Paste Between Apple Devices

  • Digital Boom
  • About Us
  • Team
  • Partners
  • Submit an Article
  • Contact Us
  • Privacy Policy
  • Terms of Use

© 2025 Digital Boom, Inc.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • Home
  • News
  • Startups
  • Marketing
    • Digital Advertising
    • Insights
    • Social Media
  • Campaigns
  • Tech
  • Guides
  • More
    • Market Watch
    • Careers
    • Ramadan Specials
    • Culture
    • Travel
    • Glossary
    • Apple Updates
    • Facebook Marketing Hub
    • Markets

© 2025 Digital Boom, Inc.