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.
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.
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.
Support forum for Event Espresso 3 and Event Espresso 4.