Closed (fixed)
Project:
Webform
Version:
6.x-2.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 10:12 UTC
Updated:
30 Nov 2009 at 16:30 UTC
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
Comment #1
quicksketchCheck the Webform handbook for additional validation codes: http://drupal.org/handbook/modules/webform/validation-code.