Preventing Cyrillic language in form submissions

I’m getting a lot of form submissions from spammers using VPNs, and their comments are using the Cyrillic language. I’d like to find a way to prevent the form from submitting if they use any language that’s not English in the comments section. Is there a way I can achieve this?

You can use the gform_entry_is_spam filter in the theme functions.php file or a custom functions/code snippets plugin to perform a custom spam check like this by making a request to an external API to determine the text language. See the following page of the documentation for an example:

Rather than target specific languages, you’d most likely be better off targetting automated spam. Try this plugin:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.