If First and Last Name are the same conditional

Hi!
A lot of form robo-spammers enter the same name (or word) as both the First and Last Name.

Can a conditional be set so that the form submission will be rejected if the First Name is the same as the Last Name?

Thanks!

There’s no way to do that with conditional logic, however, you could use the gform_validation filter to compare those two subfields of the name field, and if they’re the same, return a validation error.