Compare Two Fields to Make Sure they are NOT Equal?

Created on 30 September 2024, about 2 months ago

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.

πŸ’¬ Support request
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ryanfc78

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024