Support

Home Forums Wait List Manager Add-on Multiple wait list entires bug

Multiple wait list entires bug

Posted: August 22, 2022 at 11:15 am


wfinley

August 22, 2022 at 11:15 am

Found a bug on the wait list. To recreate – open the waitlist window and fill it out. Then click submit. Instead of patiently waiting for the waitlist window to process and close – hit submit multiple times. This will insert multiple entires. Had one person this morning who hit submit 20 times.
Screenshots here: https://imgur.com/a/0ZfJBAb


Tony

  • Support Staff

August 22, 2022 at 3:01 pm

Hi there,

Thank you for the report, may I ask, how long is the form submission taking on your site? For me, it’s pretty much instant.


wfinley

August 22, 2022 at 3:47 pm

Approx 1 maybe 2 seconds. With all caching turned off the site isn’t really that fast.


Tony

  • Support Staff

August 23, 2022 at 4:10 am

Hmm, ok. Thank you.

I’ll create a ticket for us to investigate this further but in the meantime I’ve created a snippet to disable the submit button once clicking on the waitlist form:

https://gist.github.com/Pebblo/f34a82ca2a84d4fb9f5a6eca1c82a9b6

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/

That should prevent the above and may well be what we include in the Waitlist plugin to prevent the above.


wfinley

August 23, 2022 at 11:21 am

That fixed it. Thx!


Tony

  • Support Staff

August 23, 2022 at 12:56 pm

You’re most welcome.

Any further issues just let us know.

The support post ‘Multiple wait list entires bug’ 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