Support

Home Forums Event Espresso Premium Event Registration Email Requirement

Event Registration Email Requirement

Posted: January 24, 2017 at 3:58 pm


dylancothill

January 24, 2017 at 3:58 pm

Hi,

See our event registration page below:
http://www.jump2it.com.au/event-registration/?ee=496

I would like to remove the requirement for an email to be entered (and checked) or remove the field form it all together as we only use the system for a names list.

We have had too many problems where the email wasn’t accepted by the system and this is losing clients.

Thanks
Dylan


Josh

  • Support Staff

January 25, 2017 at 7:58 am

Hi Dylan,

Event Espresso actually requires the email address to be input there. If you’re looking to only get names on a list, you can embed a contact form by using a contact form plugin there.


dylancothill

January 30, 2017 at 8:07 pm

Hi Josh,

Thanks for your reply, so there is absolutely no way to use the existing system but disable email address or at least the “check” for the email address validity? We don’t ever send out any email and have disabled emails being sent to the user who registers for the event.

Thanks


Josh

  • Support Staff

January 31, 2017 at 10:34 am

There’s a way to hack EE3 so it doesn’t try to validate the required email address field. Here’s a link to a gist that shows how:

https://gist.github.com/joshfeck/6b64009036b964ea6e7bd5ada57eb9c5

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


dylancothill

January 31, 2017 at 3:54 pm

Strange, I do run EE3 and that code gives a “call to undefined function” for wp_add_inline_script


Tony

  • Support Staff

January 31, 2017 at 5:24 pm

wp_add_inline_script was added to WordPress in version 4.5.0:

https://developer.wordpress.org/reference/functions/wp_add_inline_script/

What version of WP are you currently running?


dylancothill

January 31, 2017 at 6:33 pm

The website runs 4.4.7

I have taken on this website and am unaware of any customisations that would break with an update so would rather stay as is until the client is ready to pay for the update along with any fixes required.

Is there an alternative function to achieve the same that will work with 4.4.7?


Josh

  • Support Staff

February 1, 2017 at 11:19 am

I added a second code example that will work on sites that don’t have WordPress 4.5:

https://gist.github.com/joshfeck/6b64009036b964ea6e7bd5ada57eb9c5#file-olderwp-php


dylancothill

February 1, 2017 at 3:33 pm

Awesome, thank you for your help!

The support post ‘Event Registration Email Requirement’ 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