How to Disable the Email Address Suggestion

Overview

Would you like to disable the email address suggestion on your WPForms? By default, all Email form fields will automatically try and suggest the email address.

This can be extremely helpful to catch any typo errors in the email address when your visitors are completing the form, however, some of these extensions may actually be valid based on the country or service they are using.

Using a small PHP snippet, you can disable the email suggestion on all forms and we’ll show you how.

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

Setup

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.

Filter Reference: wpforms_mailcheck_enabled