Support

Home Forums Event Espresso Premium Prevent duplicate registrations for an event

Prevent duplicate registrations for an event

Posted: April 3, 2014 at 1:56 am


britorthopaedic

April 3, 2014 at 1:56 am

WP 3.8.1
3.1.36.4.P
http://congress.boa.ac.uk/

Hi guys,

We are running a free event currently, this is 6 months in advance of the event itself. I’m concerned that delegates are going to register now, then again closer to he time. Is there a way to prevent people from registering for the same event twice?

Ideally I’d like something based on the email, if they enter an email address that has already been registered for the event, then prevent them from registering again and maybe display a “you have already registered” type message?

Thanks as always.


Dean

April 3, 2014 at 2:32 am

Hi Daniel,

There isn’t anything built in to do that.

It also looks like the available action hooks fire too late (after the attendee has been saved to the database) to be of any use.

The only way around this that I can think of is to create a custom plugin, one that adds some JavaScript to the page so that once the email address has been added to the registration form it uses AJAX to query the database and if the email exists return an error.


britorthopaedic

April 3, 2014 at 3:16 am

Hi Dean,

Thanks for the response. I’ve been able to find this: http://phpseason.wordpress.com/2013/02/17/live-username-availability-checking-using-ajax-and-jquery/

In theory this would go part the pay to preventing duplicate registrations. I don’t suppose you are able to point me in the right direction for integrating this into EE’s email field in the personal information are you?

Thanks again
Dan


Dean

April 3, 2014 at 5:39 am

Hi,

Well, I cant go into detail, but I would be wary of using that code as it is generic rather than WordPress based.

See here for an overview of AJAX in WordPress – http://wp.smashingmagazine.com/2011/10/18/how-to-use-ajax-in-wordpress/

See here for an example of registration form validation with AJAX – http://wordpress.stackexchange.com/questions/64865/how-to-check-username-availability-with-ajax-at-registration

I would still advise you to look at creating it as a plugin, though you could in theory also edit the registration template to add in the code.

You may require a developers help if you are not comfortable with PHP and jQuery. We have a list of recommended developers here – https://eventespresso.com/developers/event-espresso-pros/


britorthopaedic

April 3, 2014 at 5:42 am

I appreciate your assistance with this Dean.

Thanks
Dan


Daniel B

April 4, 2014 at 8:45 pm

Interesting, because I had the same inquiry. I’m using the Membership plugin MemberMouse to protect the Event Registration pages from being accessed by guests.

But due to the registration of the events themselves being free, there’s nothing to prevent a few members from registering for all the time slots of events.

It’s a relief to know that intuitively through something jQuery / Ajax that this could be resolved and implemented within EE.

I know the EE team is focused so much right now on launching all the features of EE4, but I’m certain that there are many like myself that would be more than willing to pay a significant amount for an Add-on feature from EE team that could block a username/email from duplicate registration. Or what would be even more amazing esp. for the way I’m using it, is if there is a way to limit the number of events that someone can be registered to at a given time.

I suppose I can reach out to some recommended developers to see if this could be implemented, but I’m afraid of what kind of price quote I may get being on a shoestring budget. But I suppose it never hurts to ask though right?


Jon Green

April 10, 2014 at 8:41 am

I’m having exactly the same issue. I’m running an events registration page and everything works great, but the fact that users can register twice or more, means one user can potentially register for every space in the attendee limit.

Please EE! A little help? Maybe even a suggestion to hack around it?

Thanks!

The support post ‘Prevent duplicate registrations for an event’ 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