Heads up!

This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.

For extra guidance, please see WPBeginner's tutorial on adding custom code.

Dismiss

How to Disable the Email Address Suggestion

Are you interested in turning off the email address suggestion feature on your WPForms? By default, all email form fields automatically attempt to suggest email addresses.

While this feature can be beneficial for catching typos in email addresses as visitors fill out the form, it’s worth noting that some suggested extensions may be valid based on the visitor’s country or service provider.

This guide will tell you about the different ways you can disable the email suggestion.

Using a PHP snippet you can easily disable the email suggestion on Email form fields with WPForms

Disabling Email Suggestions for a Form

You can turn off the email suggestion feature for individual forms directly in the builder. To do this, click on the Email field in your form, then open the Advanced tab in the Field Options panel and toggle on the Disable Suggestions option.

Disabling for All Forms

If you’d like to remove email suggestions across all forms on your site, you can use a simple PHP snippet:

/**
 * Disable the email address suggestion.
 *
 * @link  https://wpforms.com/developers/how-to-disable-the-email-suggestion-on-the-email-form-field/
 */
 
add_filter( 'wpforms_mailcheck_enabled', '__return_false' );

If you need any help adding snippets to your site, please take a look at this tutorial.

And that’s it, you’ve successfully turned off the automatic email suggestion feature on all of your WPForms.

Would you like to remove the footer text that appears at the bottom of the email notifications? Take a look at our article on How to Remove or Change Email Notification Footer Text.

Reference Articles

wpforms_mailcheck_enabled