Support

Home Forums Event Espresso Premium Restricting Use Of Duplicate Email Address on Registrations

Restricting Use Of Duplicate Email Address on Registrations

Posted: April 11, 2018 at 7:25 am


R0ckStar

April 11, 2018 at 7:25 am

I was wondering if there is a way to prevent registrants from using the same email address on the primary attendee and guest attendees?

We use the InfusionSoft integration and we’re finding people are using the same email address for themselves and their guests and rather than create a contact record for each individual it’s just creating one contact record and populating the name of the last registrant, rather than creating a record for each of them.

Is there a way to stop this from happening? An error message on the form submission if the same email address is used for multiple attendees?


R0ckStar

April 13, 2018 at 10:20 am

Just wanted to follow up and see if there is anything we can do here?


Tony

  • Support Staff

April 16, 2018 at 8:30 am

Hi there,

Just to confirm, are you requesting the Personal Information question group for both the Primary and Additional registrants on your events?

So in the event editor, both of the ‘Personal Information’ checkboxes show HERE are checked?

If so you can use a function like this:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/tw_ee_force_unique_emails_for_registrations.php

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


R0ckStar

April 19, 2018 at 8:14 am

Yay that worked! Thank you for providing me with detailed, step-by-step instructions that were easy enough for me to follow! 🙂 🙂


Tony

  • Support Staff

April 19, 2018 at 9:11 am

You’re most welcome, I’m glad it worked for you 🙂

The support post ‘Restricting Use Of Duplicate Email Address on Registrations’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 5 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!