Support

Home Forums Event Espresso Premium Stop registration process after Personal Information (to prevent duplicate reg)

Stop registration process after Personal Information (to prevent duplicate reg)

Posted: October 20, 2017 at 2:06 pm

Viewing 1 reply thread


Jwebadgility

October 20, 2017 at 2:06 pm

I’m trying to prevent duplicate registrations (based on duplicate email), but events allow nonloggedin users and some events are free.

Is there a hook after the personal info screen, but before actual registration code, where I can check if the email has already been registered and then stop the process? When you allow nonloggedin users to register for free this is the last screen and registration happens on submit.

I’m hoping there’s a hook right before the code that processes/finalizes the registration, and that I can also do something like removing the action for actually registering the user, then redirecting or printing a “sorry” page.


Josh

  • Support Staff

October 20, 2017 at 2:57 pm

There may be a hook point that could be used to do this. You can start an issue report on Github and label it with “question” and one of the developers will follow up.

https://github.com/eventespresso/event-espresso-core/issues

Another approach you could take is use one of the hooks that’s already there on the attendee information step to load in a list of email addresses already associated with the event, then add some validation on the email address field and compare what’s input there to your list. Then you prevent the form from being submitted if there’s a match.

Viewing 1 reply thread

The support post ‘Stop registration process after Personal Information (to prevent duplicate reg)’ 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.

Event Espresso