If First and Last Name are the same conditional

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?


1 Like

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.