• News
  • Startups
  • Marketing
  • Ad Campaigns
  • Tech & Tools
  • How-to Guides
  • Insights
  • Culture & Media
Saturday, May 17, 2025
  • Login
Digital Boom
  • News
  • Startups
  • Marketing
  • Ad Campaigns
  • Tech & Tools
  • How-to Guides
  • Insights
  • Culture & Media
No Result
View All Result
  • News
  • Startups
  • Marketing
  • Ad Campaigns
  • Tech & Tools
  • How-to Guides
  • Insights
  • Culture & Media
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
in Guides & Tutorials
2
A A
Reject non-business emails from Webflow form submission
41
SHARES
204
VIEWS

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 [email protected] if you need any extra help.

Tags: Webflow
Ahmed Maher

Ahmed Maher

Editor in Chief, focuses on marketing trends, educational content, no-code web development like webflow and framer, marketing tips and growth hacking tactics.

Related Posts

How to include current URL in a Webflow form?
Guides & Tutorials

Include current CMS item URL in Webflow forms

November 14, 2023
221
How Positive Thinking Can Turbo Charge Your Career
Guides & Tutorials

How Positive Thinking Can Turbo Charge Your Career

July 5, 2023
205
8 Mind-Blowing Websites to Boost Creativity You Probably Didn't Know Existed
Guides & Tutorials

8 Mind-Blowing Websites to Boost Creativity You Probably Didn’t Know Existed

July 4, 2023
202
How to Copy and paste between devices from your Mac/iPhone
Guides & Tutorials

How to enable copy and paste between Apple devices?

November 24, 2022
202
How to increase the time limit to unsend emails on iPhone?
Guides & Tutorials

How to increase the delay time to unsend emails on iPhone?

September 19, 2022
202
10 hidden settings in iOS 16 that you need to try today
Guides & Tutorials

10 hidden settings in iOS 16 that you need to try today

September 19, 2022
202

LATEST

Google Updates Its Iconic "G" Logo for the First Time in Nearly a Decade
Creative & Design

Google Updates Its Iconic ‘G’ Logo for the First Time in Nearly a Decade

by Ahmed Maher
May 16, 2025
319
The Evolution of Influencer Marketing: From Royal Endorsements to Social Media Powerhouses
Marketing

The Evolution of Influencer Marketing: From Royal Endorsements to Social Media Powerhouses

by Ahmed Maher
May 15, 2025
46.1k
How to Change Where Screenshots Are Saved on Mac (And Master Every Shortcut)
Productivity

How to Change Where Screenshots Are Saved on Mac (And Master Every Shortcut)

by Ahmed Maher
May 15, 2025
60.1k
Inside Radi Farms: The Agritech Startup Reshaping Egypt’s Food Supply Chain
Startups

Inside Radi Farms: The Agritech Startup Reshaping Egypt’s Food Supply Chain

by Ahmed Maher
April 7, 2025
773
Anthropic Launches Web Search for Claude AI Assistant
Tech & Tools

Anthropic Launches Web Search for Claude AI Assistant

by Ahmed Maher
March 20, 2025
205
  • Partners
  • Privacy Policy
  • About us
  • Contact us

© 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
No Result
View All Result
  • About us
  • Become a Digital Boom Author
  • Checkout
  • Checkout
  • Contact us
  • Contributing Writers
  • Digital Boom Home
  • Digital Tools
  • Join us
  • Live News Headlines
  • Login/Register
  • Login/Register
  • My account
  • My account
  • Partners
  • Plans
  • Privacy Policy
  • Staff
  • Terms
  • Terms of Use

© 2025 Digital Boom, Inc.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.