Is there a way in Drupal 9+ and Webform to compare two fields to make sure they are not equal?
I want to create a First Name and Last Name field and then check to see if they are equal. If they are it will not let the user submit the form. They must both be different values before submission.
In Drupal 7 I was able to do this with the Webform Validation module but that doesn't seem to work in the newest version of that module.
Active
6.2
Code