3

I am using email field module and entityform for a simple contact form on a Drupal 7 install. I need to add an extra field where the user re-enters their email address (no copy and paste) to prevent typos.

This seems like a simple enough requirement so I'm wondering if I'm just overlooking something in entityform or email field that will help me do this, or perhaps an additional module?

Can anyone recommend a method to achieve this?

Plan B is to use jquery.

Thanks!

1
  • 1
    How about adding second email field and using it only for some custom made JavaScript which will just check if both fields have same values when form is submitted and cancel form submission if they are different. – MilanG Oct 9 '20 at 7:36
0

You can use CCK Match to achieve this goal.

2
  • CCK Match is for Drupal 6, Entityform is only for Drupa l 7 – tedbow Feb 24 '14 at 4:43
  • Hi, thanks for pointing this out. I've edited my original question to specify I'm using Drupal 7. – user21490 Feb 25 '14 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.