Jotform: Block Free Email Addresses on Forms
In this article
You cannot fully block free email addresses in Jotform with a single built-in toggle, but you can get close using the Email Validator or a custom validation rule. The practical approach is to add an Email field, then use Jotform's built-in validation options to reject known free domains. Jotform does not ship a native "block free email" setting, so you either use the Email Validator widget (which checks deliverability and can flag disposable addresses) or apply a custom validation pattern that only accepts your approved domains. This guide walks through both methods, explains the limits, and shows what to check when submissions still get through.
What You'll Need
- A Jotform account with at least one form containing an Email field.
- Edit access to that form.
- A list of the free email domains you want to block (for example gmail.com, yahoo.com, outlook.com, hotmail.com, aol.com, mail.ru, yandex.com, protonmail.com).
- Optional: a list of approved company or school domains if you prefer an allowlist instead of a blocklist.
Step-by-Step
- Open your form in Jotform Form Builder. Click the Email field you want to restrict. If your form does not have one, drag an Email element from the left panel onto the form.
- In the field's properties panel on the right, open the Validation section. Confirm the field type is set to Email so Jotform checks the basic format first.
- Decide which method fits your goal. For a blocklist of free providers, use the Email Validator widget. For an allowlist of approved domains, use a custom validation pattern. The two methods are described separately below.
- To add the Email Validator, click Add Form Element in the left panel, open the Widgets tab, and search for Email Validator. Drag it onto the form near your Email field.
- Open the widget's settings. Enter the API key the widget requires (it uses a third-party verification service) and configure the options it offers, such as rejecting disposable and role-based addresses. Save the widget.
- Connect the widget to your Email field so the validation result applies to the address the user typed. In the widget settings, map the input to your Email field.
- For the allowlist method instead, click your Email field, open Validation, and look for the option to add a custom validation or pattern. Enter a pattern that accepts only your approved domains, for example
^[A-Za-z0-9._%+-]+@(yourcompany\.com|yourschool\.edu)$, replacing the domains with your real ones. - Add a clear error message in the field's validation settings so users know why their address was rejected, for example "Please use your company email address."
- Click Preview at the top of the builder. Test with a free address such as a gmail.com address and confirm the form rejects it or shows the error.
- Test with an approved address and confirm the form submits normally. If both tests behave as expected, save the form and publish it.
- Check the Settings tab and your notification email to make sure rejected submissions are not silently lost. Jotform normally shows the validation error inline before submission, so the user can correct it.
Common Mistakes
- Expecting a single toggle. Jotform has no native "block free email" switch, so the blocklist or allowlist must be built manually.
- Using a blocklist and forgetting newer free providers. Free domains change, so review your list periodically.
- Typing the pattern wrong. A missing escape or an extra space breaks the regex and rejects every address, including valid ones.
- Blocking the domain but not subdomains. A pattern that matches only
@gmail.comwill not catch addresses on related domains you may also want to exclude. - Forgetting to test. Always preview with both a blocked and an allowed address before publishing.
- Relying on the Email Validator alone for a strict allowlist. It checks deliverability and disposable addresses, not your specific approved domains.
Tips
- Prefer an allowlist when you only want company or school addresses. It is stricter and easier to maintain than a long blocklist.
- Keep your error message friendly and specific so users know which address type to use.
- If you need to block many domains, a blocklist pattern gets long. Consider the allowlist approach instead.
- Test the pattern in a regex tester before pasting it into Jotform, then test again in the form preview.
- Document which domains are approved so future editors do not break the rule.
Troubleshooting
If valid addresses are rejected, open the field's validation settings and check the pattern for typos, missing escapes, or stray spaces. Test the same pattern in a regex tester with a known-good address. If free addresses still get through, confirm the widget or validation is actually attached to the Email field and not to a different field, and check that the form was saved and republished. If the Email Validator widget fails to load or returns errors, check that its API key is entered correctly and that the service is reachable; if the widget cannot verify, it may allow addresses it would otherwise flag. If submissions are lost after rejection, review your notification and autoresponder settings to confirm only successful submissions trigger them. If the pattern works in preview but not on the live form, clear the form cache by republishing and test again in a private browser window.
Frequently Asked Questions
Does Jotform have a built-in option to block free email addresses?
No. Jotform does not offer a single native setting for this. You use the Email Validator widget or a custom validation pattern instead.
Can I block only Gmail and Yahoo but allow other free providers?
Yes. With a custom pattern you can exclude specific domains while leaving others allowed, though a blocklist pattern grows as you add domains.
What is the difference between the Email Validator and a custom pattern?
The Email Validator checks deliverability and disposable addresses through a third-party service. A custom pattern enforces your own list of approved or blocked domains.
Will a blocked user see an error message?
Yes, if you set a custom error message in the field's validation settings. The form shows it inline before submission.
Can I use an allowlist for company email addresses only?
Yes. A pattern that accepts only your company domain is the strictest option and is easier to maintain than a long blocklist.
Do I need to republish after changing validation?
Yes. Save the form and republish so the live version picks up the new validation rule.