Custom validation regex for textarea to prevent bots
-
We have more than two-hundred sites, each with a CF7 form. Adding a reCAPTCHA helped cut down on spam by a lot. We still get bots that can get through, but they don’t appear to be selling or linking to anything and I’ve noticed a strange pattern consistent to them all. In the comments/textarea field, there is a 11-digit number. That’s it. The numbers are random, but they all start with 8 (ex. 89472543261). Anyone else come across this? Can a filter be added using regex in functions.php to reject this pattern?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom validation regex for textarea to prevent bots’ is closed to new replies.