Have you tried adding a recaptcha?
What form plugin are you using?
I don’t want to use recaptcha, since I don’t get a huge amounts of spam. It’s just this robot spam that’s so specific I thought can add this to the site with some simple script that doesn’t affect real users.
Again, what plugin are you using for your form? There are anti-spam plugins that work with some of the forms plugins.
I’m trying to move away from cf7 hence wanting something more generic. I know they run JavaScript because they pass cloudflare js challenge. That’s why I want to know how to do an exact check with the first name and last name are identical.
It’s probably a new spam software. I get different spams from the same setup. I already have the honey pot plugin.
Today it’s about bitcoin and a sick person. Last time it’s something else.
Before it’s submitted, it would have to be in Javascript, something like https://stackoverflow.com/questions/12058081/comparing-two-input-fields
Afterwards, you’d do it in whatever PHP processes the form.
There is no “generic” solution. It depends on how you build your form.
Hmm, since I use a plugin I can’t edit the code it generates to add this
<form onsubmit=”return Validate(this);”>
I see it generates a novalidate too
<form action=”/contact/#wpcf71″ method=”post” class=”wpcf7-form” novalidate=”novalidate”>
Does that mean I can’t inject validation code from the page?
I want to move away from cf7, would you have any rec’d?
I’m not sure you know but there is at least one plugin that can check validation available for CF7: https://wordpress.org/plugins/cf7-field-validation/
Then again, I’m not entirely sure how you feel about adding another plugin to the mix, just thought I would mention that. 🙂