For the Drupal 10 version of this module is there a way to create a First Name and Last Name field and then compare those to values to make sure they are not exact matches?

I could do this easily in the Drupal 7 version but not finding how to do this in the Drupal 9+ version.

Looking to compare what the user enters into the Fist Name and Last Name field and make sure they do not match.

Comments

ryanfc78 created an issue. See original summary.

liam morland’s picture

You should be able to use a != comparison for this.

ryanfc78’s picture

How do you set that up in Webform? Haven't figure that part out yet.

anthonyroundtree’s picture

The only solution I see so far is the webform handler compare fields module.

As a form, I would say that it IS possible for someone to have the same first and last name so you may not want to compare those 2 values.

liam morland’s picture

Status: Active » Fixed

Presuming #4 is the solution. If not, please re-open and provide details.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.