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.

With a simple PHP snippet, you can disable the email suggestion feature on all forms. We’ll guide you through the process.

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

Disabling the email address suggestion

To disable this feature, you’ll need to add this small code snippet to your site.

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

/**
 * 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' );

Using this filter will disable the feature for all WPForms.

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

Once the PHP snippet is added, the email suggestion option is now turned off

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