Can someone please provide me with PHP code to check two values (email addresses) to determine if they match, and issue an error if they do not? I have two fields, one asking for an email address, and another to re-enter the same address, and I want to determine if the two values match to prevent individuals from mistyping their email when filling out a web form.

Thanks for any help you can provide!

Comments

quicksketch’s picture

Category: task » support
Status: Active » Fixed

Check the Webform handbook for additional validation codes: http://drupal.org/handbook/modules/webform/validation-code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.